mdbx-cmake: sync/update modules.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-06-08 16:36:45 +03:00
parent cdb16c9f00
commit 638d71a0c0

View File

@ -809,10 +809,12 @@ macro(setup_compile_flags)
if(ENABLE_ASAN) if(ENABLE_ASAN)
add_compile_flags("C;CXX" "-fsanitize=address") add_compile_flags("C;CXX" "-fsanitize=address")
add_definitions(-DASAN_ENABLED=1)
endif() endif()
if(ENABLE_UBSAN) if(ENABLE_UBSAN)
add_compile_flags("C;CXX" "-fsanitize=undefined" "-fsanitize-undefined-trap-on-error") add_compile_flags("C;CXX" "-fsanitize=undefined" "-fsanitize-undefined-trap-on-error")
add_definitions(-DUBSAN_ENABLED=1)
endif() endif()
if(ENABLE_GCOV) if(ENABLE_GCOV)