From 27fb0f25514625a8adb42338015e635bd6ef0626 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Sat, 26 Aug 2017 01:13:33 +0000 Subject: 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 --- cmake/config-ix.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/config-ix.cmake') 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}") -- cgit v1.2.3