mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
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
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user