Skip to content

Commit 1e9a271

Browse files
jeplerdhalbert
authored andcommitted
esp8266: Disable "strict aliasing" in compiler like in atmel-samd
This caused a fatal compiler diagnostic after adafruit#750. This compiler flag is already specified in the atmel-samd builds, so it makes sense to do it here for the same reasons.
1 parent fd70383 commit 1e9a271

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy