esp8266: Disable "strict aliasing" in compiler like in atmel-samd
This caused a fatal compiler diagnostic after #750. This compiler flag is already specified in the atmel-samd builds, so it makes sense to do it here for the same reasons.
This commit is contained in:
parent
3883a9fb7a
commit
c5d2a0da04
|
@ -48,7 +48,7 @@ CFLAGS_XTENSA = -fsingle-precision-constant -Wdouble-promotion \
|
||||||
-Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 \
|
-Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 \
|
||||||
-DLWIP_OPEN_SRC
|
-DLWIP_OPEN_SRC
|
||||||
|
|
||||||
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -nostdlib -DUART_OS=$(UART_OS) \
|
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -Wno-strict-aliasing -std=gnu99 -nostdlib -DUART_OS=$(UART_OS) \
|
||||||
$(CFLAGS_XTENSA) $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)
|
$(CFLAGS_XTENSA) $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)
|
||||||
|
|
||||||
LDSCRIPT = esp8266.ld
|
LDSCRIPT = esp8266.ld
|
||||||
|
|
Loading…
Reference in New Issue