diff options
author | louiz’ <louiz@louiz.org> | 2018-06-26 20:42:21 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-07-10 19:35:13 +0200 |
commit | e39434b9a79db013275d575e68ef75cd803479aa (patch) | |
tree | dd7fed1d10bce7cc20f5855ac000e488c9e2135f /CMakeLists.txt | |
parent | 0d886d5f32dda3be5827ed2c84f9bf2806b69601 (diff) | |
download | biboumi-e39434b9a79db013275d575e68ef75cd803479aa.tar.gz biboumi-e39434b9a79db013275d575e68ef75cd803479aa.tar.bz2 biboumi-e39434b9a79db013275d575e68ef75cd803479aa.tar.xz biboumi-e39434b9a79db013275d575e68ef75cd803479aa.zip |
meh meh
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c6ac616..0f1592f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,13 +30,10 @@ find_library(LIBUBSAN NAMES ubsan libubsan.so.0) # ## Set various debug flags (instrumentation libs, coverage, …) # -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -pedantic -Wall -Wextra -Wconversion -fvisibility=hidden -fvisibility-inlines-hidden") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1z -pedantic -Wall -Wextra -Wconversion -fvisibility=hidden -fvisibility-inlines-hidden") if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fprofile-arcs -ftest-coverage --coverage") endif() -if(LIBASAN) - set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address") -endif() if(LIBUBSAN) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=undefined") endif() |