Modify CFLAGS to have useful gcc warnings.
PATCH 1/4 Modify CFLAGS to have useful gcc warnings.
This patch modifies CFLAGS to add -Wall and -Wextra flags to gcc compilation flag. This will help to detect some stupid problems.
Signed-off-by Eric Leblond <[email protected]>
--- configure.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
configure.in +2 -0
@@ -30,6 +30,8 @@ dnl Checks for library functions. AC_FUNC_VPRINTF AC_CHECK_FUNCS(socket strerror) +CFLAGS="$CFLAGS -Wall -Wextra" + dnl Check for the right nfnetlink version LIBNFNETLINK_REQUIRED=0.0.39 LIBNETFILTER_CONNTRACK_REQUIRED=0.0.95
Signature · 1 line
1.5.4.3