projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6340722
)
Default OPTIMIZE_OPTION to -O2 on FreeBSD, at the request of the Clang/FreeBSD
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 30 Apr 2010 17:12:23 +0000
(17:12 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 30 Apr 2010 17:12:23 +0000
(17:12 +0000)
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
autoconf/configure.ac
patch
|
blob
|
history
diff --git
a/autoconf/configure.ac
b/autoconf/configure.ac
index 49a140cdc4a653392a61fc358bc4a7b3200156f4..3b4019658ccdc0121e0cef6faa315a6739240efc 100644
(file)
--- a/
autoconf/configure.ac
+++ b/
autoconf/configure.ac
@@
-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 ;;