From: Nathan Cutler Date: Fri, 26 May 2017 05:07:46 +0000 (+0200) Subject: build/ops: deb: no rgw Beast frontend on s390x X-Git-Tag: v12.1.0~57^2~3^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=25d794d98a68134f8097ed434909822ded0425df;p=ceph.git build/ops: deb: no rgw Beast frontend on s390x Signed-off-by: Kefu Chai Signed-off-by: Nathan Cutler --- diff --git a/debian/rules b/debian/rules index f8fb8117d745..200b6dbfd8d6 100755 --- a/debian/rules +++ b/debian/rules @@ -22,6 +22,13 @@ ifeq ($(DEB_HOST_ARCH), armel) extraopts += -DWITH_ATOMIC_OPS=OFF endif +ifneq (,$(filter $(DEB_HOST_ARCH), arm armel armhf arm64 i386 amd64 mips mipsel powerpc ppc64)) + # beast depends on libboost_context which only support the archs above + extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=ON +else + extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=OFF +endif + %: dh $@ --buildsystem=cmake --with javahelper,python2,python3,systemd --parallel