No strict aliasing for AVR
AVR build generates numerous aliasing errors. This -f switch silences them.
This commit is contained in:
parent
db5cee9f1b
commit
8f0bb86c02
|
@ -103,7 +103,7 @@ AS = avr-as
|
||||||
AR = avr-ar
|
AR = avr-ar
|
||||||
OBJCOPY = avr-objcopy
|
OBJCOPY = avr-objcopy
|
||||||
STRIP = avr-strip
|
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. -I$(CONTIKI)/core -I$(CONTIKI_CPU) $(USB_INCLUDES) \
|
||||||
-I$(CONTIKI)/platform/$(TARGET) \
|
-I$(CONTIKI)/platform/$(TARGET) \
|
||||||
$(CONTIKI_PLAT_DEFS)
|
$(CONTIKI_PLAT_DEFS)
|
||||||
|
|
Loading…
Reference in a new issue