mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 18:43:47 +00:00
set more strict CFLAGS to wrote great code ;-)
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user