summaryrefslogtreecommitdiff
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
commit3bc91aa3b40190862fd2c0d260633bf7d01e543f (patch)
treecd490d19777c8b3e7a0a4918a9183dbb323e5d35
parent393dd6c10a8fba0df57ccd3f02941a8ec3107ec7 (diff)
downloadllvm-3bc91aa3b40190862fd2c0d260633bf7d01e543f.tar.gz
Enable optimizations and disable assertions by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_28@113402 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac4
-rwxr-xr-xconfigure4
2 files changed, 4 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 3d8550d8dc09..0596dd60d230 100644
--- a/autoconf/configure.ac
+++ b/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/configure b/configure
index 7bcae4d70507..0153f3ec1b70 100755
--- a/configure
+++ b/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