commit | e96fcbb08501b4060a419c954474bde6b064d5ca | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Apr 30 17:12:23 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Apr 30 17:12:23 2010 +0000 |
tree | 4163e30f0173bcf0e34e7a733305e1a375aa0dda | |
parent | 2073fcac2dff506caab8e6a0ac6952a7b83fa2a9 [diff] [blame] |
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. llvm-svn: 102719
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 49a140c..3b40196 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac
@@ -728,6 +728,7 @@ case "$withval" in default) case "$llvm_cv_os_type" in + FreeBSD) optimize_option=-O2 ;; MingW) optimize_option=-O2 ;; *) optimize_option=-O3 ;; esac ;;