diff options
author | Keith Packard <keithp@keithp.com> | 2019-01-03 11:40:32 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-01-03 11:40:32 -0800 |
commit | f14c799ae7ff3be56c28f5694f04c03daff7708e (patch) | |
tree | b66f24c1cf37477d432d4bc75d29821d745c4928 /configure.ac | |
parent | adf4bec88df1822031e1a8b00422de8b8b0c0cd4 (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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]) |