mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
Added -Werror to turn compiler warnings into errors to ensure that code always compile without warnings
This commit is contained in:
parent
a7102829e3
commit
22cb35e9f6
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile.msp430,v 1.19 2007/11/06 20:35:42 adamdunkels Exp $
|
# $Id: Makefile.msp430,v 1.20 2007/11/17 10:11:58 adamdunkels Exp $
|
||||||
|
|
||||||
ifdef nodeid
|
ifdef nodeid
|
||||||
CFLAGS += -DNODEID=$(nodeid)
|
CFLAGS += -DNODEID=$(nodeid)
|
||||||
@ -39,7 +39,7 @@ NM = msp430-nm
|
|||||||
OBJCOPY = msp430-objcopy
|
OBJCOPY = msp430-objcopy
|
||||||
STRIP = msp430-strip
|
STRIP = msp430-strip
|
||||||
BSL = msp430-bsl
|
BSL = msp430-bsl
|
||||||
CFLAGSNO = -Wall -mmcu=$(MCU) -g
|
CFLAGSNO = -Wall -Werror -mmcu=$(MCU) -g
|
||||||
CFLAGS += $(CFLAGSNO) -Os
|
CFLAGS += $(CFLAGSNO) -Os
|
||||||
LDFLAGS += -mmcu=$(MCU) -Wl,-Map=contiki-$(TARGET).map
|
LDFLAGS += -mmcu=$(MCU) -Wl,-Map=contiki-$(TARGET).map
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user