[cmake] Remove /Og- flag which was working around PR24785

With r258897, MSVC 2013 now successfully compiles Function.cpp.

llvm-svn: 258899
This commit is contained in:
Reid Kleckner 2016-01-27 01:52:46 +00:00
parent 789ee55590
commit b49dfe295d

View File

@ -56,12 +56,4 @@ add_llvm_library(LLVMCore
${LLVM_MAIN_INCLUDE_DIR}/llvm/IR
)
# PR24785: Workaround for hanging compilation.
if( MSVC_VERSION EQUAL 1800)
set_property(
SOURCE Function.cpp
PROPERTY COMPILE_FLAGS "/Og-"
)
endif()
add_dependencies(LLVMCore intrinsics_gen)