]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/rules: Fix tcmalloc breakage
authorGary Lowell <glowell@inktank.com>
Fri, 26 Apr 2013 08:53:08 +0000 (01:53 -0700)
committerSage Weil <sage@inktank.com>
Fri, 26 Apr 2013 23:04:52 +0000 (16:04 -0700)
Since all currently supported platforms have tcmalloc
available and it is now the default, remove broken check code
that turns it off if the package is not listed in build-depends.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
debian/rules

index bc2ef835ed9bdf297c91757d8a2316a743778a1b..2492577543cfde36f720141304955ceb74a5e9fd 100755 (executable)
@@ -37,14 +37,6 @@ ifneq ($(DEB_HOST_ARCH), amd64)
 endif
 endif
 
-ifeq ($(shell perl -n -e 'BEGIN{$$/=""}' -e '/Build-Depends:.*libgoogle-perftools-dev/ && exit 1' debian/control),0)
-  # if Build-Deps have been edited to skip libgoogle-perftools-dev (as
-  # we do for Debian lenny), tell configure it's ok to not have
-  # tcmalloc.
-  $(warning skipping -ltcmalloc because of no libgoogle-perftools-dev)
-  extraopts += --without-tcmalloc
-endif
-
 configure: configure-stamp
 configure-stamp:
        dh_testdir