diff options
| author | Jeff Epler <jepler@gmail.com> | 2018-04-09 21:17:26 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2018-04-09 21:17:26 -0500 |
| commit | c5d2a0da0404468637553aa17430bab2b75ac0f7 (patch) | |
| tree | 819dd7066344bf57745853d14aae192c5eb1d491 | |
| parent | 3883a9fb7adfbaa1864e2a40665dd8da5fc6a3cb (diff) | |
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.
| -rw-r--r-- | ports/esp8266/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp8266/Makefile b/ports/esp8266/Makefile index 4a598b629..06439a19e 100644 --- a/ports/esp8266/Makefile +++ b/ports/esp8266/Makefile @@ -48,7 +48,7 @@ CFLAGS_XTENSA = -fsingle-precision-constant -Wdouble-promotion \ -Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 \ -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) LDSCRIPT = esp8266.ld |
