summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-01-20 09:38:04 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-01-20 09:38:04 +0100
commit867bffddbf339982a5d00c209da5a603e68c07f6 (patch)
treed18354b067691fefae9c7f09be3dcba87f1299c0
parent9db0e672b8ba899b66722f89200152402418c5f1 (diff)
downloadATCD-867bffddbf339982a5d00c209da5a603e68c07f6.tar.gz
Only check valgrind_keep_debuginfo when valgrind is 1
* ACE/include/makeinclude/wrapper_macros.GNU:
-rw-r--r--ACE/include/makeinclude/wrapper_macros.GNU12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/include/makeinclude/wrapper_macros.GNU b/ACE/include/makeinclude/wrapper_macros.GNU
index fc5535535dc..f9888281467 100644
--- a/ACE/include/makeinclude/wrapper_macros.GNU
+++ b/ACE/include/makeinclude/wrapper_macros.GNU
@@ -705,12 +705,12 @@ zlib ?= 1
valgrind ?=
ifeq ($(valgrind),1)
CPPFLAGS += -DACE_HAS_VALGRIND
-endif
-# Does the valgrind version support --keep-debug-info, if not
-# we disable dlclose in ACE to get complete callstacks
-valgrind_keep_debuginfo ?=
-ifeq ($(valgrind_keep_debuginfo),0)
- CPPFLAGS += -DACE_LACKS_DLCLOSE
+ # Does the valgrind version support --keep-debug-info, if not
+ # we disable dlclose in ACE to get complete callstacks
+ valgrind_keep_debuginfo ?=
+ ifeq ($(valgrind_keep_debuginfo),0)
+ CPPFLAGS += -DACE_LACKS_DLCLOSE
+ endif
endif
profile ?=