]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: Build without tcmalloc on non-i386/amd64.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Tue, 19 Apr 2011 18:04:01 +0000 (11:04 -0700)
committerSage Weil <sage@newdream.net>
Tue, 19 Apr 2011 19:05:29 +0000 (12:05 -0700)
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 <tommi.virtanen@dreamhost.com>
debian/rules

index cf178d97032222fb7e68561fe422fc3402dda841..c4c50e2ac3bed3c3e8c207944af89f859316110b 100755 (executable)
@@ -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