Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit af1a714

Browse files
author
Alexey Samsonov
committed
Don't build unsupported compiler-rt pieces on Windows
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194796 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent dbd69cc commit af1a714

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if(LLVM_USE_SANITIZER STREQUAL "")
99
add_subdirectory(asan)
1010
add_subdirectory(interception)
1111
add_subdirectory(sanitizer_common)
12-
if(NOT ANDROID AND NOT MSVC)
12+
if(NOT ANDROID AND NOT WIN32)
1313
add_subdirectory(lsan)
1414
add_subdirectory(profile)
1515
add_subdirectory(ubsan)
@@ -186,7 +186,7 @@ set(i386_SOURCES
186186
i386/umoddi3.S
187187
${GENERIC_SOURCES})
188188

189-
if (NOT MSVC)
189+
if (NOT WIN32)
190190
foreach(arch x86_64 i386)
191191
if(CAN_TARGET_${arch})
192192
add_compiler_rt_static_runtime(clang_rt.${arch} ${arch}

0 commit comments

Comments
 (0)