Removed -Werror since LPM*_EXIT; and friends trigger an internal mspgcc compiler error

This commit is contained in:
adamdunkels 2007-11-26 23:23:20 +00:00
parent 58d6310979
commit 6e0e6e1279

View File

@ -1,4 +1,4 @@
# $Id: Makefile.msp430,v 1.20 2007/11/17 10:11:58 adamdunkels Exp $ # $Id: Makefile.msp430,v 1.21 2007/11/26 23:23:20 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 -Werror -mmcu=$(MCU) -g CFLAGSNO = -Wall -mmcu=$(MCU) -g #-Werror
CFLAGS += $(CFLAGSNO) -Os CFLAGS += $(CFLAGSNO) -Os
LDFLAGS += -mmcu=$(MCU) -Wl,-Map=contiki-$(TARGET).map LDFLAGS += -mmcu=$(MCU) -Wl,-Map=contiki-$(TARGET).map