mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
Default OPTIMIZE_OPTION to -O2 on FreeBSD, at the request of the Clang/FreeBSD
folks. LLVM/Clang is miscompiled by the standard GCC at -O3. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102719 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6340722d17
commit
753b43c065
@ -728,6 +728,7 @@ AC_MSG_CHECKING([optimization flags])
|
||||
case "$withval" in
|
||||
default)
|
||||
case "$llvm_cv_os_type" in
|
||||
FreeBSD) optimize_option=-O2 ;;
|
||||
MingW) optimize_option=-O2 ;;
|
||||
*) optimize_option=-O3 ;;
|
||||
esac ;;
|
||||
|
Loading…
Reference in New Issue
Block a user