set more strict CFLAGS to wrote great code ;-)
This commit is contained in:
parent
62736ab48b
commit
dbe59f83d9
1 changed files with 4 additions and 1 deletions
|
@ -77,7 +77,7 @@ AC_MSG_RESULT($enable_debug)
|
||||||
|
|
||||||
if test x"$enable_debug" = "xyes"
|
if test x"$enable_debug" = "xyes"
|
||||||
then
|
then
|
||||||
CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic -O0 -ggdb"
|
CFLAGS="$CFLAGS -g -DDEBUG -O0 -ggdb"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Handle --with-drivers option
|
# Handle --with-drivers option
|
||||||
|
@ -140,6 +140,9 @@ AM_CONDITIONAL([WITH_CUTTER], [test "$ac_cv_use_cutter" != "no"])
|
||||||
|
|
||||||
AC_CHECK_READLINE
|
AC_CHECK_READLINE
|
||||||
|
|
||||||
|
# Help us to write great code ;-)
|
||||||
|
CFLAGS="$CFLAGS -Wall -pedantic -Wextra"
|
||||||
|
|
||||||
# Defines and C flags
|
# Defines and C flags
|
||||||
CFLAGS="$CFLAGS -std=c99"
|
CFLAGS="$CFLAGS -std=c99"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue