summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-09 20:20:04 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-09 20:22:45 +0100
commit3bdb950f5edac0cdb09318cea307b4342a0fd714 (patch)
tree56bb4b759263574b0223ef83d69dde3b2574e703 /sal
parentd91c37274fda0d18eeba684e905c2a2201d85134 (diff)
RepositoryExternal: fix gb_LinkTarget__use_valgrind
... which i've also managed to break, unaware of its existence. Consolidate 2 different ways to use VALGRIND_CFLAGS. Change-Id: I245c7a9a2b6bc904a227a15063cf5d8a2f64313c
Diffstat (limited to 'sal')
-rw-r--r--sal/Library_sal.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index 854e95fdb6b2..51e6d9ece97a 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -40,7 +40,6 @@ $(eval $(call gb_Library_set_include,sal,\
))
$(eval $(call gb_Library_add_defs,sal,\
- $(VALGRIND_CFLAGS) \
$(if $(filter $(ALLOC),SYS_ALLOC TCMALLOC JEMALLOC), \
-DFORCE_SYSALLOC \
) \
@@ -60,6 +59,10 @@ $(eval $(call gb_Library_use_libraries,sal,\
$(gb_UWINAPI) \
))
+$(eval $(call gb_Library_use_externals,sal,\
+ valgrind \
+))
+
$(eval $(call gb_Library_use_system_win32_libs,sal,\
advapi32 \
comdlg32 \