diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-04-30 17:12:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-04-30 17:12:23 +0000 |
commit | 753b43c06596a1ad6339284f07523c76c53cf648 (patch) | |
tree | a2f04863b817ee1c222c6384c13f7ab7f3c27bbc /autoconf/configure.ac | |
parent | 6340722d1751841a00e791a44d8f2f5e481b8c61 (diff) | |
download | external_llvm-753b43c06596a1ad6339284f07523c76c53cf648.zip external_llvm-753b43c06596a1ad6339284f07523c76c53cf648.tar.gz external_llvm-753b43c06596a1ad6339284f07523c76c53cf648.tar.bz2 |
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
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 49a140c..3b40196 100644 --- 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 ;; |