From 0d98a62ce2dcd1b9fff116824619f75846c07f47 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Tue, 19 Apr 2011 11:04:01 -0700 Subject: [PATCH] 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 --- debian/rules | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/rules b/debian/rules index cf178d9703222..c4c50e2ac3bed 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 -- 2.39.5