ao-tools: Add lots of compiler warning flags to ao-tools build
[fw/altos] / configure.ac
index abaec2cdb7d25df3c1240755438babf8f8cfa39f..32fcea3a344f9fba60dbd84a339c7376e1a0717b 100644 (file)
@@ -184,6 +184,9 @@ else
        HAVE_GOOGLE_KEY="no"
 fi
 
+WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs"
+AC_SUBST(WARN_CFLAGS)
+
 AC_ARG_ENABLE(faketime, AS_HELP_STRING([--enable-faketime],
               [Use faketime program to ensure pdf files are reproducible (default=no)]),
              [FAKETIME=$enableval], [FAKETIME=no])