summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-01-20 11:44:11 +0100
committerGitHub <noreply@github.com>2021-01-20 11:44:11 +0100
commit917877aab4ea4fa06de98470fd6724d0f7d28b7b (patch)
treed18354b067691fefae9c7f09be3dcba87f1299c0
parent9db0e672b8ba899b66722f89200152402418c5f1 (diff)
parent867bffddbf339982a5d00c209da5a603e68c07f6 (diff)
downloadATCD-917877aab4ea4fa06de98470fd6724d0f7d28b7b.tar.gz
Merge pull request #1419 from jwillemsen/jwi-valgrindkeepdebuginfo
Only check valgrind_keep_debuginfo when valgrind is 1
-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 ?=