summaryrefslogtreecommitdiff
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-09 19:29:05 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-09 19:29:47 +0100
commit89f80c167112837346ec5a63873f620a07a76493 (patch)
tree7f6490039edfbe6305d72ef88a6863b046989aa2 /sal/Library_sal.mk
parent7b213e05a4f6aecd8b5388fb8fa8cec355302b07 (diff)
configure: why not set up VALGRIND_CFLAGS all in one place
Also unbreaks the build because VALGRIND_CFLAGS is now never empty with cedd9ebdd260e99e74ad54391c0d0b1d1ebd9891. Change-Id: Ide5ca799b3656ccaff483ca05dbc18682136345f
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 73335befab10..854e95fdb6b2 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -40,10 +40,7 @@ $(eval $(call gb_Library_set_include,sal,\
))
$(eval $(call gb_Library_add_defs,sal,\
- $(if $(VALGRIND_CFLAGS), \
- $(VALGRIND_CFLAGS) \
- -DHAVE_MEMCHECK_H=1 \
- ) \
+ $(VALGRIND_CFLAGS) \
$(if $(filter $(ALLOC),SYS_ALLOC TCMALLOC JEMALLOC), \
-DFORCE_SYSALLOC \
) \