summaryrefslogtreecommitdiffstats
path: root/config/sanitizer
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-13 17:36:09 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-13 17:36:09 (GMT)
commite3c75f6cf718f1103bd92727c1323d555fd1ae16 (patch)
treeb6fcd862d249f8b249f5b9dc23184efd37e2cfff /config/sanitizer
parente350797b710a9bf2401de1b4a59b4ab0d3f2c70d (diff)
downloadhdf5-e3c75f6cf718f1103bd92727c1323d555fd1ae16.zip
hdf5-e3c75f6cf718f1103bd92727c1323d555fd1ae16.tar.gz
hdf5-e3c75f6cf718f1103bd92727c1323d555fd1ae16.tar.bz2
Fix compile and test issues from DT
Diffstat (limited to 'config/sanitizer')
-rw-r--r--config/sanitizer/sanitizers.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/sanitizer/sanitizers.cmake b/config/sanitizer/sanitizers.cmake
index d5f9a0f..7a6c195 100644
--- a/config/sanitizer/sanitizers.cmake
+++ b/config/sanitizer/sanitizers.cmake
@@ -29,6 +29,8 @@ function(append value)
endfunction()
if(USE_SANITIZER)
+ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+
append("-fno-omit-frame-pointer" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
if(UNIX)