mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
[PR24785] Appease MSC18 to tweak optimizations.
This brings a warning. cl : Command line warning D9035: option 'Og-' has been deprecated and will be removed in a future release We should resolve PR11951 to remove this tweak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247427 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18320e5c91
commit
dee68c80b9
@ -52,4 +52,12 @@ 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)
|
||||
|
Loading…
Reference in New Issue
Block a user