diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-01 13:16:09 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-01 13:16:09 +0100 |
commit | abefe0950093510c7fb9759e4d09ae58d992fc0d (patch) | |
tree | 5accf9b47b10c4286b46e460d456ec34a5e5901a /ACE/include | |
parent | e29c775c1fc530c6528837cd0d6820c3652820c5 (diff) | |
download | ATCD-abefe0950093510c7fb9759e4d09ae58d992fc0d.tar.gz |
When valgrind_keep_debuginfo is set to 0 we add ACE_LACKS_DLCLOSE to the compiler flags
Diffstat (limited to 'ACE/include')
-rw-r--r-- | ACE/include/makeinclude/wrapper_macros.GNU | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/wrapper_macros.GNU b/ACE/include/makeinclude/wrapper_macros.GNU index 6790e8cc91e..0966a023d0e 100644 --- a/ACE/include/makeinclude/wrapper_macros.GNU +++ b/ACE/include/makeinclude/wrapper_macros.GNU @@ -704,6 +704,12 @@ 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 +endif profile ?= ifeq ($(profile),0) |