summaryrefslogtreecommitdiff
path: root/ao-tools/ao-stmload
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-01-03 11:40:32 -0800
committerKeith Packard <keithp@keithp.com>2019-01-03 11:40:32 -0800
commitf14c799ae7ff3be56c28f5694f04c03daff7708e (patch)
treeb66f24c1cf37477d432d4bc75d29821d745c4928 /ao-tools/ao-stmload
parentadf4bec88df1822031e1a8b00422de8b8b0c0cd4 (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 'ao-tools/ao-stmload')
-rw-r--r--ao-tools/ao-stmload/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/ao-stmload/Makefile.am b/ao-tools/ao-stmload/Makefile.am
index 45eb6216..a049f275 100644
--- a/ao-tools/ao-stmload/Makefile.am
+++ b/ao-tools/ao-stmload/Makefile.am
@@ -2,7 +2,7 @@ if LIBSTLINK
bin_PROGRAMS=ao-stmload
-AM_CFLAGS=-I$(top_srcdir)/ao-tools/lib $(STLINK_CFLAGS) $(LIBUSB_CFLAGS)
+AM_CFLAGS=$(WARN_CFLAGS) -I$(top_srcdir)/ao-tools/lib $(STLINK_CFLAGS) $(LIBUSB_CFLAGS)
AO_STMLOAD_LIBS=$(top_builddir)/ao-tools/lib/libao-tools.a
ao_stmload_DEPENDENCIES = $(AO_STMLOAD_LIBS)