summaryrefslogtreecommitdiff
path: root/src/lpc
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/lpc
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/lpc')
-rw-r--r--src/lpc/Makefile-lpc.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc/Makefile-lpc.defs b/src/lpc/Makefile-lpc.defs
index b9687196..dd2bf0e6 100644
--- a/src/lpc/Makefile-lpc.defs
+++ b/src/lpc/Makefile-lpc.defs
@@ -26,7 +26,7 @@ endif
ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex
CC=$(ARM_CC)
-WARN_FLAGS=-Wall -Wextra
+WARN_FLAGS=-Wall -Wextra -Werror
AO_CFLAGS=-I. -I$(TOPDIR)/lpc -I$(TOPDIR)/core -I$(TOPDIR)/drivers -I$(TOPDIR)/product -I$(TOPDIR) $(PDCLIB_INCLUDES)
LPC_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m0 -mthumb\