From 5e7acbf05e61537eea8673faf09cdf5a73c9c164 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 25 Aug 2017 22:34:00 +0200 Subject: [PATCH] :construction_worker: adjusted flags for Clang sanitizer we are overrding the CXXFLAGS provided by travis in order to use gcc's libstdc++ --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a8090378c..c99b29aed 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -5,7 +5,7 @@ option(JSON_NoExceptions "Build test suite without exceptions" OFF) if(JSON_Sanitizer) message(STATUS "Building test suite with Clang sanitizer") if(NOT MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer") + set(CMAKE_CXX_FLAGS "-g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer") endif() endif()