set more strict CFLAGS to wrote great code ;-)

This commit is contained in:
Romuald Conty 2011-02-28 09:45:09 +00:00
parent 62736ab48b
commit dbe59f83d9

View file

@ -77,7 +77,7 @@ AC_MSG_RESULT($enable_debug)
if test x"$enable_debug" = "xyes"
then
CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic -O0 -ggdb"
CFLAGS="$CFLAGS -g -DDEBUG -O0 -ggdb"
fi
# Handle --with-drivers option
@ -140,6 +140,9 @@ AM_CONDITIONAL([WITH_CUTTER], [test "$ac_cv_use_cutter" != "no"])
AC_CHECK_READLINE
# Help us to write great code ;-)
CFLAGS="$CFLAGS -Wall -pedantic -Wextra"
# Defines and C flags
CFLAGS="$CFLAGS -std=c99"