From f14c799ae7ff3be56c28f5694f04c03daff7708e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 3 Jan 2019 11:40:32 -0800 Subject: ao-tools: Add lots of compiler warning flags to ao-tools build This catches some uninitialized variable errors which cause ao-cal-accel to crash (fixes coming next) Signed-off-by: Keith Packard --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index abaec2cd..32fcea3a 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- cgit v1.2.3