what if we always use -ljemalloc

This commit is contained in:
c9s 2014-05-22 11:34:37 +08:00
parent aed75694e6
commit 1fdfaef16e
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,7 @@ AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -Wall -std=
if USE_JEMALLOC
AM_CFLAGS += -ljemalloc
endif
AM_CFLAGS += -ljemalloc
if ENABLE_DEBUG
AM_CFLAGS += -ggdb -fprofile-arcs -ftest-coverage

View file

@ -17,6 +17,11 @@ dist_noinst_DATA = \
bench_str.csv \
$(NULL)
if USE_JEMALLOC
AM_CFLAGS += -ljemalloc
endif
AM_CFLAGS += -ljemalloc
if ENABLE_GRAPHVIZ
TESTS += check_gvc
check_gvc_SOURCES = check_gvc.c bench.c