Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-03-14 17:32:48 +0300
committerJanek Bevendorff <janek@jbev.net>2017-03-15 17:23:50 +0300
commit504bd402630ad0eacdd59b3f884e269c48c027c3 (patch)
tree95879c1955b0aee687f65bc8ddf889ad425c8405 /CMakeLists.txt
parent28ec015ef4ef2f142f56983e089dd7197d7245df (diff)
Prevent massive end-of-process leak sanitizer dump
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ea0fc8f3..86dedbc11 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,7 +85,7 @@ add_gcc_compiler_cxxflags("-fno-exceptions -fno-rtti")
add_gcc_compiler_cxxflags("-Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual")
add_gcc_compiler_cflags("-Wchar-subscripts -Wwrite-strings")
if(WITH_ASAN)
- add_gcc_compiler_flags("-fsanitize=address")
+ add_gcc_compiler_flags("-fsanitize=address -DWITH_ASAN")
endif()
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)