From: Keith Packard Date: Sat, 21 Dec 2013 06:21:23 +0000 (-0800) Subject: altos: Turn on -Wall for stm compiles X-Git-Tag: 1.3.1~43 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=db8f3426ac1cf756a2e4974ca61a5ae9048c80ce altos: Turn on -Wall for stm compiles The warnings are all cleaned up now, leave this on by default Signed-off-by: Keith Packard --- 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