mirror of
https://github.com/ceph/ceph
synced 2025-02-17 16:07:37 +00:00
debian/rules: Fix tcmalloc breakage
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>
This commit is contained in:
parent
6d348a1ef2
commit
5c1782a57c
8
debian/rules
vendored
8
debian/rules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user