summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/ubsan/CMakeLists.txt')
-rw-r--r--compiler-rt/lib/ubsan/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/ubsan/CMakeLists.txt b/compiler-rt/lib/ubsan/CMakeLists.txt
index 5ece9a62cfe..c447042c266 100644
--- a/compiler-rt/lib/ubsan/CMakeLists.txt
+++ b/compiler-rt/lib/ubsan/CMakeLists.txt
@@ -1,5 +1,7 @@
# Build for the undefined behavior sanitizer runtime support library.
+check_list_contains(COMPILER_RT_HAS_UBSAN COMPILER_RT_RUNTIMES_TO_BUILD ubsan)
+
set(UBSAN_SOURCES
ubsan_diag.cc
ubsan_init.cc
OpenPOWER on IntegriCloud