[llvm-commits] [llvm] r102719 - /llvm/trunk/autoconf/configure.ac
Daniel Dunbar
daniel at zuster.org
Fri Apr 30 10:12:23 PDT 2010
Author: ddunbar
Date: Fri Apr 30 12:12:23 2010
New Revision: 102719
URL: http://llvm.org/viewvc/llvm-project?rev=102719&view=rev
Log:
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.
Modified:
llvm/trunk/autoconf/configure.ac
Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=102719&r1=102718&r2=102719&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Fri Apr 30 12:12:23 2010
@@ -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 ;;
More information about the llvm-commits
mailing list