OSDN Git Service

Apply "/Og-" also to MSC15(aka VS9) on VMCore/Function.cpp.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 30 Aug 2012 16:22:26 +0000 (16:22 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 30 Aug 2012 16:22:26 +0000 (16:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162917 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/CMakeLists.txt

index 6a20be6..c17e794 100644 (file)
@@ -42,7 +42,7 @@ add_llvm_library(LLVMCore
 
 # Workaround: It takes over 20 minutes to compile with msvc10.
 # FIXME: Suppressing optimizations to core libraries would not be good thing.
-if( MSVC_VERSION EQUAL 1600 )
+if( MSVC_VERSION LESS 1700 )
 set_property(
   SOURCE Function.cpp
   PROPERTY COMPILE_FLAGS "/Og-"