Mercurial > molko
changeset 177:6a15145b331e
cmake: shorter -fsanitize option list
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 23 Oct 2020 09:32:54 +0200 |
parents | 408e4823e378 |
children | 49639211d63b |
files | CMakeLists.txt |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 ()