summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-12-20 13:53:31 -0800
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-12-20 13:53:31 -0800
commit0e192859b07bdb06fa81eb8af7c28286ca9c6614 (patch)
tree9fed0ce65bc0fae985e5913638ef8e1335f384ae
parent1718d11005da4bd288aaf84ac3965dc490e16278 (diff)
configure: remove -O2 by default
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index aa5baa4..35ea926 100755
--- a/configure
+++ b/configure
@@ -11223,7 +11223,7 @@ program_suffix=$cooked_program_suffix
#if (test "${CFLAGS}" = ""); then
-CFLAGS="-O2 -g -Wall -D _USE_TRACE -ldl -lm"
+CFLAGS="-g -Wall -D _USE_TRACE -ldl -lm"
#fi
# Check whether --enable-debug was given.
diff --git a/configure.ac b/configure.ac
index e684bfa..69916eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ AC_SUBST(program_suffix, $cooked_program_suffix)
#if (test "${CFLAGS}" = ""); then
-CFLAGS="-O2 -g -Wall -D _USE_TRACE -ldl -lm"
+CFLAGS="-g -Wall -D _USE_TRACE -ldl -lm"
#fi
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],