# HG changeset patch # User David Demelier # Date 1603438374 -7200 # Node ID 6a15145b331e86a8cf0b3c9d844d2d0f4de57012 # Parent 408e4823e3781edfcd24978ef2bfeaa0c256577e cmake: shorter -fsanitize option list diff -r 408e4823e378 -r 6a15145b331e CMakeLists.txt --- a/CMakeLists.txt Fri Oct 23 09:30:54 2020 +0200 +++ b/CMakeLists.txt Fri Oct 23 09:32:54 2020 +0200 @@ -29,7 +29,7 @@ endif () if (CMAKE_C_COMPILER_ID MATCHES "Clang") - set(options "-fsanitize=address -fsanitize=undefined -fsanitize=integer") + set(options "-fsanitize=address,undefined,integer") set(CMAKE_C_FLAGS_DEBUG "-fno-omit-frame-pointer ${options} ${CMAKE_C_FLAGS_DEBUG}") set(CMAKE_EXE_LINKER_FLAGS "${options} ${CMAKE_EXE_LINKER_FLAGS}") endif ()