diff options
author | Albert Astals Cid <aacid@kde.org> | 2016-12-28 11:57:40 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2016-12-28 11:57:40 +0100 |
commit | c0a047a20591a50d87899d7869fea55268156f79 (patch) | |
tree | e9a760ee4785cd45ea5da1ddef52b5a0c8e3d9b9 /modules | |
parent | 1e7f3d5ba91e79a47d69a48e8f991ee0e7794b53 (diff) | |
download | extra-cmake-modules-c0a047a20591a50d87899d7869fea55268156f79.tar.gz extra-cmake-modules-c0a047a20591a50d87899d7869fea55268156f79.tar.bz2 |
Revert "Add Clang Sanitizer CMAKE_C_FLAGS for C project"
This reverts commit 1e7f3d5ba91e79a47d69a48e8f991ee0e7794b53.
It's breaking compilation of anything that uses pthreads
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ECMEnableSanitizers.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/ECMEnableSanitizers.cmake b/modules/ECMEnableSanitizers.cmake index b8851c70..9c8a4dee 100644 --- a/modules/ECMEnableSanitizers.cmake +++ b/modules/ECMEnableSanitizers.cmake @@ -151,7 +151,6 @@ foreach ( CUR_SANITIZER ${ECM_ENABLE_SANITIZERS} ) string(TOLOWER ${CUR_SANITIZER} CUR_SANITIZER) # check option and enable appropriate flags enable_sanitizer_flags ( ${CUR_SANITIZER} ) - set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${XSAN_COMPILE_FLAGS}" ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${XSAN_COMPILE_FLAGS}" ) if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") link_libraries(${XSAN_LINKER_FLAGS}) |