Add more -W flags to CFLAGS
authorJeremy Kerr <jk@ozlabs.org>
Mon, 5 Jan 2009 13:10:03 +0000 (22:10 +0900)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 5 Jan 2009 13:10:03 +0000 (22:10 +0900)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
configure.ac

index 2e85b26fc90d4830a1d2a3b313a50adae77cc990..650d60b2fe2194dd81b90a79ccdfba5811624bd6 100644 (file)
@@ -19,7 +19,8 @@ AC_INIT([petitboot], [0.2], [Jeremy Kerr <jk@ozlabs.org>])
 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"