mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
Prevent massive end-of-process leak sanitizer dump
This commit is contained in:
parent
28ec015ef4
commit
504bd40263
2 changed files with 15 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue