No strict aliasing for AVR

AVR build generates numerous aliasing errors.  This -f switch silences them.
This commit is contained in:
maniacbug 2011-07-08 06:15:52 -07:00 committed by David Kopf
parent db5cee9f1b
commit 8f0bb86c02

View File

@ -103,7 +103,7 @@ AS = avr-as
AR = avr-ar
OBJCOPY = avr-objcopy
STRIP = avr-strip
CFLAGSNO = -Wall -mmcu=$(MCU) -gdwarf-2 \
CFLAGSNO = -Wall -mmcu=$(MCU) -gdwarf-2 -fno-strict-aliasing \
-I. -I$(CONTIKI)/core -I$(CONTIKI_CPU) $(USB_INCLUDES) \
-I$(CONTIKI)/platform/$(TARGET) \
$(CONTIKI_PLAT_DEFS)