Merge pull request #594 from ceph/fix-no-tcmalloc-build

make: add tmalloc lib dep in tcmalloc guard

Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-09-13 08:57:16 -07:00
commit 40e0cabcb4

View File

@ -2,6 +2,7 @@ libperfglue_la_SOURCES =
if WITH_TCMALLOC
libperfglue_la_SOURCES += perfglue/heap_profiler.cc
libperfglue_la_LIBADD = -ltcmalloc
AM_CFLAGS += -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
AM_CXXFLAGS += -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
else
@ -14,7 +15,6 @@ else
libperfglue_la_SOURCES += perfglue/disabled_stubs.cc
endif # WITH_PROFILER
libperfglue_la_LIBADD = -ltcmalloc
noinst_LTLIBRARIES += libperfglue.la
noinst_HEADERS += \