summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-20 22:21:23 -0800
committerKeith Packard <keithp@keithp.com>2013-12-20 22:21:23 -0800
commitdb8f3426ac1cf756a2e4974ca61a5ae9048c80ce (patch)
tree677e447a44abf3e540911c3a7b0b411ed3a998b0 /src
parentb31b4622d5bd92c0cc0851818f5b595dbdb60ead (diff)
altos: Turn on -Wall for stm compiles
The warnings are all cleaned up now, leave this on by default Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/stm/Makefile.defs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index 9adcfeb3..d0e5a699 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -24,8 +24,11 @@ include $(TOPDIR)/Makedefs
CC=$(ARM_CC)
LIBS=$(PDCLIB_LIBS_M3) -lgcc
+WARN_FLAGS=-Wall
+
AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
-STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
+STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb \
+ -ffreestanding -nostdlib $(AO_CFLAGS) $(WARN_FLAGS)
LDFLAGS=-L../stm -Wl,-Taltos.ld