summaryrefslogtreecommitdiff
path: root/src/stm
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-20 23:04:43 -0800
committerKeith Packard <keithp@keithp.com>2013-12-20 23:04:43 -0800
commit9289200ccb661b10ff892760ecbc752c7745de6b (patch)
tree9f46f95fe90ba07a7b51a25aa743765f8430c3ed /src/stm
parent16b37b49985daf21ebb93b3d6ae64af67533be22 (diff)
altos: Turn on -Werror for STM and LPC builds
Now that the build completes with no warnings, make future warnings into errors. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm')
-rw-r--r--src/stm/Makefile.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index 1e31e590..42adfd09 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -24,7 +24,7 @@ include $(TOPDIR)/Makedefs
CC=$(ARM_CC)
LIBS=$(PDCLIB_LIBS_M3) -lgcc
-WARN_FLAGS=-Wall -Wextra
+WARN_FLAGS=-Wall -Wextra -Werror
AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb \