From: Tommi Virtanen Date: Tue, 19 Apr 2011 18:04:01 +0000 (-0700) Subject: debian: Build without tcmalloc on non-i386/amd64. X-Git-Tag: v0.27~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0d98a62ce2dcd1b9fff116824619f75846c07f47;p=ceph.git debian: Build without tcmalloc on non-i386/amd64. This is not strictly needed as of 05c281bfa9e9d69ea3d0197590950c8e6845a13a, but that reverting is hopefully only temporary. Without this, with 05c281 undone, non-mainstream architectures would fail to build. Signed-off-by: Tommi Virtanen --- diff --git a/debian/rules b/debian/rules index cf178d970322..c4c50e2ac3be 100755 --- a/debian/rules +++ b/debian/rules @@ -26,6 +26,13 @@ ifeq ($(DEB_HOST_ARCH), armel) extraopts += --without-libatomic-ops endif +ifneq ($(DEB_HOST_ARCH), i386) +ifneq ($(DEB_HOST_ARCH), amd64) + # libgoogle-perftools-dev is only available on i386 and amd64 + extraopts += --without-tcmalloc +endif +endif + configure: configure-stamp configure-stamp: dh_testdir