mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 00:50:25 +08:00
45 lines
2.2 KiB
Diff
45 lines
2.2 KiB
Diff
compiler-rt/lib/asan/CMakeLists.txt | 2 +-
|
|
compiler-rt/lib/interception/CMakeLists.txt | 2 +-
|
|
compiler-rt/lib/ubsan/CMakeLists.txt | 2 +-
|
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/compiler-rt/lib/asan/CMakeLists.txt b/compiler-rt/lib/asan/CMakeLists.txt
|
|
index 1bfc6f0c5e37..f35c385c379a 100644
|
|
--- a/compiler-rt/lib/asan/CMakeLists.txt
|
|
+++ b/compiler-rt/lib/asan/CMakeLists.txt
|
|
@@ -92,7 +92,7 @@ append_rtti_flag(OFF ASAN_CFLAGS)
|
|
|
|
# Silence warnings in system headers with MSVC.
|
|
if(NOT CLANG_CL)
|
|
- append_list_if(COMPILER_RT_HAS_EXTERNAL_FLAG "/experimental:external /external:W0 /external:anglebrackets" ASAN_CFLAGS)
|
|
+ append_list_if(COMPILER_RT_HAS_EXTERNAL_FLAG "/experimental:external;/external:W0;/external:anglebrackets" ASAN_CFLAGS)
|
|
endif()
|
|
|
|
# Too many existing bugs, needs cleanup.
|
|
diff --git a/compiler-rt/lib/interception/CMakeLists.txt b/compiler-rt/lib/interception/CMakeLists.txt
|
|
index 3242cf50e35f..abe9229340be 100644
|
|
--- a/compiler-rt/lib/interception/CMakeLists.txt
|
|
+++ b/compiler-rt/lib/interception/CMakeLists.txt
|
|
@@ -21,7 +21,7 @@ append_rtti_flag(OFF INTERCEPTION_CFLAGS)
|
|
|
|
# Silence warnings in system headers with MSVC.
|
|
if(NOT CLANG_CL)
|
|
- append_list_if(COMPILER_RT_HAS_EXTERNAL_FLAG "/experimental:external /external:W0 /external:anglebrackets" INTERCEPTION_CFLAGS)
|
|
+ append_list_if(COMPILER_RT_HAS_EXTERNAL_FLAG "/experimental:external;/external:W0;/external:anglebrackets" INTERCEPTION_CFLAGS)
|
|
endif()
|
|
|
|
add_compiler_rt_object_libraries(RTInterception
|
|
diff --git a/compiler-rt/lib/ubsan/CMakeLists.txt b/compiler-rt/lib/ubsan/CMakeLists.txt
|
|
index 520a024fbede..75b0b12b9da2 100644
|
|
--- a/compiler-rt/lib/ubsan/CMakeLists.txt
|
|
+++ b/compiler-rt/lib/ubsan/CMakeLists.txt
|
|
@@ -57,7 +57,7 @@ append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_CXXFLAGS)
|
|
|
|
# Silence warnings in system headers with MSVC.
|
|
if(NOT CLANG_CL)
|
|
- append_list_if(COMPILER_RT_HAS_EXTERNAL_FLAG "/experimental:external /external:W0 /external:anglebrackets" UBSAN_CXXFLAGS)
|
|
+ append_list_if(COMPILER_RT_HAS_EXTERNAL_FLAG "/experimental:external;/external:W0;/external:anglebrackets" UBSAN_CXXFLAGS)
|
|
endif()
|
|
|
|
set(UBSAN_LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS})
|
|
|