From 25d794d98a68134f8097ed434909822ded0425df Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Fri, 26 May 2017 07:07:46 +0200 Subject: [PATCH] build/ops: deb: no rgw Beast frontend on s390x Signed-off-by: Kefu Chai Signed-off-by: Nathan Cutler --- debian/rules | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/rules b/debian/rules index f8fb8117d74..200b6dbfd8d 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 -- 2.39.5