mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Removed user-CFLAGS during a debug build. Added -Wall to normal build(I like -Wall)
This commit is contained in:
parent
2930109416
commit
48ee3c4434
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user