From 09bbae229e0b790e9435578630dc8dc068d159d2 Mon Sep 17 00:00:00 2001 From: Damien Laniel Date: Tue, 16 Sep 2008 13:02:47 +0000 Subject: enable optimisation flag when not debugging --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') 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) -- cgit