Merge pull request #20544 from lewis6991/exitfreedebug

build: remove EXITFREE for debug builds
This commit is contained in:
Lewis Russell
2022-10-08 18:06:43 +01:00
committed by GitHub

View File

@@ -166,7 +166,7 @@ if(NOT "${MIN_LOG_LEVEL}" MATCHES "^$")
add_definitions(-DMIN_LOG_LEVEL=${MIN_LOG_LEVEL})
endif()
if(DEBUG OR CLANG_ASAN_UBSAN OR CLANG_MSAN OR CLANG_TSAN)
if(CLANG_ASAN_UBSAN OR CLANG_MSAN OR CLANG_TSAN)
add_definitions(-DEXITFREE)
endif()