8000 Merge pull request #752 from jepler/esp8266-strict-aliasing · rbarraud/circuitpython@a0cd94c · GitHub
[go: up one dir, main page]

Skip to content

Commit a0cd94c

Browse files
authored
Merge pull request adafruit#752 from jepler/esp8266-strict-aliasing
esp8266: Disable "strict aliasing" in compiler like in atmel-samd
2 parents 3883a9f + c5d2a0d commit a0cd94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/esp8266/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ CFLAGS_XTENSA = -fsingle-precision-constant -Wdouble-promotion \
4848
-Wl,-EL -mlongcalls -mtext-section-literals -mforce-l32 \
4949
-DLWIP_OPEN_SRC
5050

51-
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -nostdlib -DUART_OS=$(UART_OS) \
51+
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -Wno-strict-aliasing -std=gnu99 -nostdlib -DUART_OS=$(UART_OS) \
5252
$(CFLAGS_XTENSA) $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)
5353

5454
LDSCRIPT = esp8266.ld

0 commit comments

Comments
 (0)
0