mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
global: remove gcc 5.2 support
This commit is contained in:
@@ -541,9 +541,7 @@ idf_component_register(SRCS "${srcs}"
|
||||
REQUIRES nvs_flash soc)
|
||||
|
||||
if(CONFIG_BT_ENABLED)
|
||||
if(GCC_NOT_5_2_0)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-implicit-fallthrough -Wno-unused-const-variable)
|
||||
endif()
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-implicit-fallthrough -Wno-unused-const-variable)
|
||||
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/controller/lib")
|
||||
target_link_libraries(${COMPONENT_LIB} PUBLIC btdm_app)
|
||||
|
||||
@@ -17,10 +17,8 @@ COMPONENT_ADD_LINKER_DEPS := $(patsubst %,$(COMPONENT_PATH)/controller/lib/lib%.
|
||||
|
||||
COMPONENT_SUBMODULES += controller/lib
|
||||
|
||||
ifeq ($(GCC_NOT_5_2_0), 1)
|
||||
# TODO: annotate fallthroughs in Bluedroid code with comments
|
||||
CFLAGS += -Wno-implicit-fallthrough
|
||||
endif
|
||||
|
||||
ifdef CONFIG_BT_BLUEDROID_ENABLED
|
||||
|
||||
@@ -119,12 +117,10 @@ COMPONENT_SRCDIRS += host/bluedroid/bta/dm \
|
||||
host/bluedroid
|
||||
|
||||
|
||||
ifeq ($(GCC_NOT_5_2_0), 1)
|
||||
host/bluedroid/bta/sdp/bta_sdp_act.o: CFLAGS += -Wno-unused-const-variable
|
||||
host/bluedroid/btc/core/btc_config.o: CFLAGS += -Wno-unused-const-variable
|
||||
host/bluedroid/stack/btm/btm_sec.o: CFLAGS += -Wno-unused-const-variable
|
||||
host/bluedroid/stack/smp/smp_keys.o: CFLAGS += -Wno-unused-const-variable
|
||||
endif
|
||||
|
||||
COMPONENT_PRIV_INCLUDEDIRS += common/btc/include \
|
||||
common/include
|
||||
|
||||
Reference in New Issue
Block a user