From: Jeremy Kerr Date: Mon, 5 Jan 2009 13:10:03 +0000 (+0900) Subject: Add more -W flags to CFLAGS X-Git-Tag: v1.0.0~936 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=73ed2e65525f36bb22f56278617170cb8c9d6bcf Add more -W flags to CFLAGS Signed-off-by: Jeremy Kerr --- diff --git a/configure.ac b/configure.ac index 2e85b26..650d60b 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,8 @@ AC_INIT([petitboot], [0.2], [Jeremy Kerr ]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile]) -default_CFLAGS='--std=gnu99 -O2 -Wall -g' +default_CFLAGS="--std=gnu99 -O2 -g -Wall -W -Wunused -Wstrict-prototypes \ +-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Winline" if test "x$CFLAGS" = "x"; then CFLAGS="$default_CFLAGS"