mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-02 09:16:40 +00:00
CMAKE: apply -O3 for mingw clang
Differential Revision: https://reviews.llvm.org/D41596 llvm-svn: 324570
This commit is contained in:
parent
74d6a8f83e
commit
ab78cec62e
@ -834,7 +834,7 @@ endif()
|
||||
include(AddLLVM)
|
||||
include(TableGen)
|
||||
|
||||
if( MINGW )
|
||||
if( MINGW AND NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" )
|
||||
# People report that -O3 is unreliable on MinGW. The traditional
|
||||
# build also uses -O2 for that reason:
|
||||
llvm_replace_compiler_option(CMAKE_CXX_FLAGS_RELEASE "-O3" "-O2")
|
||||
|
Loading…
x
Reference in New Issue
Block a user