diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-03-27 15:06:19 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-03-27 15:06:19 +0000 |
| commit | 62de952ae9ee16840346c0dbef40a340140bca08 (patch) | |
| tree | b1f004da84b1e0b06232b106905d37a230aa2603 | |
| parent | d85f440885ca65d8e48cc9f4212463813cb11b43 (diff) | |
| download | lasso-62de952ae9ee16840346c0dbef40a340140bca08.tar.gz lasso-62de952ae9ee16840346c0dbef40a340140bca08.tar.xz lasso-62de952ae9ee16840346c0dbef40a340140bca08.zip | |
Autoconf: Do not include optimisation flags in AM_CFLAGS
* configure.ac: when --enable-debugging set CFLAGS,
do not modify AM_CFLAGS.
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 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) |
