diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-09-08 20:25:50 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-09-08 20:25:50 +0000 |
commit | 3bc91aa3b40190862fd2c0d260633bf7d01e543f (patch) | |
tree | cd490d19777c8b3e7a0a4918a9183dbb323e5d35 | |
parent | 393dd6c10a8fba0df57ccd3f02941a8ec3107ec7 (diff) |
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.ac | 4 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 3d8550d8dc..0596dd60d2 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 @@ -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 |