global: remove gcc 5.2 support

This commit is contained in:
Ivan Grokhotkov
2019-11-20 11:17:27 +01:00
parent 93a8603c54
commit 9a2af7ae33
149 changed files with 94 additions and 16603 deletions
+10 -12
View File
@@ -138,15 +138,13 @@ idf_component_register(SRCS "${srcs}"
# lots of LWIP source files evaluate macros that check address of stack variables
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-address)
if(GCC_NOT_5_2_0)
set_source_files_properties(
lwip/src/netif/ppp/ppp.c
PROPERTIES COMPILE_FLAGS
-Wno-uninitialized
)
set_source_files_properties(
lwip/src/netif/ppp/pppos.c
PROPERTIES COMPILE_FLAGS
-Wno-implicit-fallthrough
)
endif()
set_source_files_properties(
lwip/src/netif/ppp/ppp.c
PROPERTIES COMPILE_FLAGS
-Wno-uninitialized
)
set_source_files_properties(
lwip/src/netif/ppp/pppos.c
PROPERTIES COMPILE_FLAGS
-Wno-implicit-fallthrough
)
-2
View File
@@ -36,9 +36,7 @@ endif
CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
ifeq ($(GCC_NOT_5_2_0), 1)
lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
endif
COMPONENT_ADD_LDFRAGMENTS += linker.lf