shorten sanitizer configuration

This commit is contained in:
Lukas Böger 2021-06-02 21:00:47 +01:00
parent 57410deca9
commit f58dfdb67d

View file

@ -86,7 +86,7 @@ target_compile_options(libchibi-common
$<$<C_COMPILER_ID:GNU>:-Wall> $<$<C_COMPILER_ID:GNU>:-Wall>
$<$<OR:$<C_COMPILER_ID:AppleClang>,$<C_COMPILER_ID:Clang>>:-Wall> $<$<OR:$<C_COMPILER_ID:AppleClang>,$<C_COMPILER_ID:Clang>>:-Wall>
$<$<CONFIG:SANITIZER>:-g $<$<CONFIG:SANITIZER>:-g
-fsanitize=address,undefined,integer-divide-by-zero,float-divide-by-zero,float-cast-overflow,return -fsanitize=address,undefined,integer,float-divide-by-zero,float-cast-overflow,return
-fno-omit-frame-pointer>) -fno-omit-frame-pointer>)
target_include_directories(libchibi-common target_include_directories(libchibi-common