summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1e2ced78..a6d4e814 100644
--- a/configure.ac
+++ b/configure.ac
@@ -842,6 +842,7 @@ if test "z$enable_debugging" = "zyes" ; then
AM_CFLAGS="$AM_CFLAGS -O0 -g -Wall -Wextra -Werror -Wno-missing-field-initializers"
else
enable_debugging=no
+ AM_CFLAGS="$AM_CFLAGS -O2"
fi
AM_CONDITIONAL([DEBUGGING],[test "x$enable_debugging" = "xyes"])
AC_MSG_RESULT($enable_debugging)