From dbe59f83d97a60c3859405b612cef63db051a48f Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Mon, 28 Feb 2011 09:45:09 +0000 Subject: [PATCH] set more strict CFLAGS to wrote great code ;-) --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b6563f9..39da7c6 100644 --- a/configure.ac +++ b/configure.ac @@ -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"