From 73ed2e65525f36bb22f56278617170cb8c9d6bcf Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 5 Jan 2009 22:10:03 +0900 Subject: Add more -W flags to CFLAGS Signed-off-by: Jeremy Kerr --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.1