From 62de952ae9ee16840346c0dbef40a340140bca08 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 27 Mar 2009 15:06:19 +0000 Subject: Autoconf: Do not include optimisation flags in AM_CFLAGS * configure.ac: when --enable-debugging set CFLAGS, do not modify AM_CFLAGS. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d6b9bd7c..afbdce6d 100644 --- a/configure.ac +++ b/configure.ac @@ -841,10 +841,9 @@ AC_ARG_ENABLE(debugging, [ --enable-debugging enable debuging optimizati if test "z$enable_debugging" = "zyes" ; then enable_debugging=yes LASSO_DEFINES="$LASSO_DEFINES -DLASSO_DEBUG" - AM_CFLAGS="$AM_CFLAGS -O0 -g" + CFLAGS="-O0 -g" else enable_debugging=no - AM_CFLAGS="$AM_CFLAGS -O2 -g" fi AM_CONDITIONAL([DEBUGGING],[test "x$enable_debugging" = "xyes"]) AC_MSG_RESULT($enable_debugging) -- cgit