[compiler-rt] r194796 - Don't build unsupported compiler-rt pieces on Windows

Alexey Samsonov samsonov at google.com
Fri Nov 15 01:09:24 PST 2013


Author: samsonov
Date: Fri Nov 15 03:09:23 2013
New Revision: 194796

URL: http://llvm.org/viewvc/llvm-project?rev=194796&view=rev
Log:
Don't build unsupported compiler-rt pieces on Windows

Modified:
    compiler-rt/trunk/lib/CMakeLists.txt

Modified: compiler-rt/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/CMakeLists.txt?rev=194796&r1=194795&r2=194796&view=diff
==============================================================================
--- compiler-rt/trunk/lib/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/CMakeLists.txt Fri Nov 15 03:09:23 2013
@@ -9,7 +9,7 @@ if(LLVM_USE_SANITIZER STREQUAL "")
     add_subdirectory(asan)
     add_subdirectory(interception)
     add_subdirectory(sanitizer_common)
-    if(NOT ANDROID AND NOT MSVC)
+    if(NOT ANDROID AND NOT WIN32)
       add_subdirectory(lsan)
       add_subdirectory(profile)
       add_subdirectory(ubsan)
@@ -186,7 +186,7 @@ set(i386_SOURCES
   i386/umoddi3.S
   ${GENERIC_SOURCES})
 
-if (NOT MSVC)
+if (NOT WIN32)
   foreach(arch x86_64 i386)
     if(CAN_TARGET_${arch})
       add_compiler_rt_static_runtime(clang_rt.${arch} ${arch}





More information about the llvm-commits mailing list