diff options
Diffstat (limited to 'llvm/lib/Target/ARM/CMakeLists.txt')
| -rw-r--r-- | llvm/lib/Target/ARM/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/CMakeLists.txt b/llvm/lib/Target/ARM/CMakeLists.txt index 4f721f8a3f0..9c66a6a160a 100644 --- a/llvm/lib/Target/ARM/CMakeLists.txt +++ b/llvm/lib/Target/ARM/CMakeLists.txt @@ -53,3 +53,11 @@ add_llvm_target(ARMCodeGen Thumb2RegisterInfo.cpp Thumb2SizeReduction.cpp ) + +# workaround for hanging compilation on MSVC10 +if( MSVC_VERSION EQUAL 1600 ) +set_property( + SOURCE ARMISelLowering.cpp + PROPERTY COMPILE_FLAGS "/Od" + ) +endif() |

