aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-09-08 20:25:50 +0000
committerBill Wendling <isanbard@gmail.com>2010-09-08 20:25:50 +0000
commit53ea2a8e7ec79c7617f187a6967cec63131d8c82 (patch)
tree20ddbda5df6bdce26ab55c5729a49530f4969de1
parent1134be14a2fec7c5b97fc03ac9539564b97f0072 (diff)
downloadllvm-53ea2a8e7ec79c7617f187a6967cec63131d8c82.zip
llvm-53ea2a8e7ec79c7617f187a6967cec63131d8c82.tar.gz
llvm-53ea2a8e7ec79c7617f187a6967cec63131d8c82.tar.bz2
Enable optimizations and disable assertions by default.
llvm-svn: 113402
-rw-r--r--llvm/autoconf/configure.ac4
-rwxr-xr-xllvm/configure4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index 3d8550d..0596dd6 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -391,7 +391,7 @@ dnl===-----------------------------------------------------------------------===
dnl --enable-optimized : check whether they want to do an optimized build:
AC_ARG_ENABLE(optimized, AS_HELP_STRING(
- --enable-optimized,[Compile with optimizations enabled (default is NO)]),,enableval=$optimize)
+ --enable-optimized,[Compile with optimizations enabled (default is YES)]),,enableval="yes")
if test ${enableval} = "no" ; then
AC_SUBST(ENABLE_OPTIMIZED,[[]])
else
@@ -409,7 +409,7 @@ fi
dnl --enable-assertions : check whether they want to turn on assertions or not:
AC_ARG_ENABLE(assertions,AS_HELP_STRING(
- --enable-assertions,[Compile with assertion checks enabled (default is YES)]),, enableval="yes")
+ --enable-assertions,[Compile with assertion checks enabled (default is NO)]),, enableval="no")
if test ${enableval} = "yes" ; then
AC_SUBST(DISABLE_ASSERTIONS,[[]])
else
diff --git a/llvm/configure b/llvm/configure
index 7bcae4d..0153f3e 100755
--- a/llvm/configure
+++ b/llvm/configure
@@ -4699,7 +4699,7 @@ fi
if test "${enable_optimized+set}" = set; then
enableval=$enable_optimized;
else
- enableval=$optimize
+ enableval="yes"
fi
if test ${enableval} = "no" ; then
@@ -4729,7 +4729,7 @@ fi
if test "${enable_assertions+set}" = set; then
enableval=$enable_assertions;
else
- enableval="yes"
+ enableval="no"
fi
if test ${enableval} = "yes" ; then