mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
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:
commit
40e0cabcb4
@ -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 += \
|
||||
|
Loading…
Reference in New Issue
Block a user