lwip: silence uninitialized and fallthrough warnings

This commit is contained in:
Anton Maklakov 2018-09-07 21:37:27 +08:00
parent ccbe517702
commit 3471d369f9

View file

@ -30,6 +30,6 @@ endif
CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
ifeq ($(GCC_NOT_5_2_0), 1)
else
netif/ppp/pppos.o: CFLAGS += -Wno-type-limits
endif
lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
endif