From 48ee3c4434efad0796521384661dc405cdd3db66 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 31 Oct 2006 16:00:30 +0000 Subject: Removed user-CFLAGS during a debug build. Added -Wall to normal build(I like -Wall) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5d829ef7..c7aac6c3 100644 --- a/configure.ac +++ b/configure.ac @@ -318,11 +318,11 @@ dnl Enable or disable debug code AC_MSG_CHECKING(for debug mode request) if test x$debug = xyes ; then AM_CONDITIONAL(PACMAN_DEBUG, test x$debug = xyes) - CFLAGS="$CFLAGS -g -Wall -Werror -std=c99 -DPACMAN_DEBUG" + CFLAGS="-g -Wall -Werror -std=c99 -DPACMAN_DEBUG" AC_MSG_RESULT(yes) else AM_CONDITIONAL(PACMAN_DEBUG, test x$debug = xno) - CFLAGS="$CFLAGS -std=c99" + CFLAGS="$CFLAGS -Wall -std=c99" AC_MSG_RESULT(no) fi -- cgit v1.2.3-70-g09d2