Skip to content

Commit adfe4ff

Browse files
committed
esp8266: Support CFLAGS_EXTRA.
1 parent 5472924 commit adfe4ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

esp8266/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CFLAGS_XTENSA = -fsingle-precision-constant -Wdouble-promotion \
3131
-Wl,-EL -mlongcalls -mtext-section-literals \
3232

3333
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib -DUART_OS=$(UART_OS) \
34-
$(CFLAGS_XTENSA) $(COPT)
34+
$(CFLAGS_XTENSA) $(COPT) $(CFLAGS_EXTRA)
3535

3636
LDFLAGS = -nostdlib -T esp8266.ld -Map=$(@:.elf=.map) --cref
3737
LIBS = -L$(ESP_SDK)/lib -lmain -ljson -llwip -lpp -lnet80211 -lwpa -lphy -lnet80211

0 commit comments

Comments
 (0)