summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-08-26 01:13:33 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-08-26 01:13:33 +0000
commit27fb0f25514625a8adb42338015e635bd6ef0626 (patch)
tree521e9eb77919a11073f2599fa1870977091b2b4f /cmake/config-ix.cmake
parentfe25f5a544bd7a8de0d9c98a685f2c482f2443a3 (diff)
Automatically pick up new sanitizers in cmake.
Change the default of COMPILER_RT_SANITIZERS_TO_BUILD to "all" in order to automatically pick up new sanitizers in existing build trees. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@311824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r--cmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index d38e3f3b6..764488b83 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -471,7 +471,7 @@ else()
endif()
set(ALL_SANITIZERS asan;dfsan;msan;tsan;safestack;cfi;esan;scudo)
-set(COMPILER_RT_SANITIZERS_TO_BUILD ${ALL_SANITIZERS} CACHE STRING
+set(COMPILER_RT_SANITIZERS_TO_BUILD all CACHE STRING
"sanitizers to build if supported on the target (all;${ALL_SANITIZERS})")
list_replace(COMPILER_RT_SANITIZERS_TO_BUILD all "${ALL_SANITIZERS}")