summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2009-01-05 22:10:03 +0900
committerJeremy Kerr <jk@ozlabs.org>2009-01-05 22:10:03 +0900
commit73ed2e65525f36bb22f56278617170cb8c9d6bcf (patch)
tree698d2ef3f2e49237462b9ba4e20ca1cde0938008 /configure.ac
parentab49f0673de484c75c4bf9b202d47f825785d951 (diff)
downloadtalos-petitboot-73ed2e65525f36bb22f56278617170cb8c9d6bcf.tar.gz
talos-petitboot-73ed2e65525f36bb22f56278617170cb8c9d6bcf.zip
Add more -W flags to CFLAGS
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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 <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"
OpenPOWER on IntegriCloud