projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d9f750
)
CMAKE: apply -O3 for mingw clang
author
Martell Malone
<martellmalone@gmail.com>
Thu, 8 Feb 2018 07:13:17 +0000
(07:13 +0000)
committer
Martell Malone
<martellmalone@gmail.com>
Thu, 8 Feb 2018 07:13:17 +0000
(07:13 +0000)
Differential Revision: https://reviews.llvm.org/D41596
llvm-svn: 324570
llvm/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/llvm/CMakeLists.txt
b/llvm/CMakeLists.txt
index
4e93b13
..
d87f8dc
100644
(file)
--- a/
llvm/CMakeLists.txt
+++ b/
llvm/CMakeLists.txt
@@
-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")