mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
build system: re-add -Wno-format as private flag for some components
This commit is contained in:
committed by
Alexey Lapshin
parent
879352b7f3
commit
401c10ecfb
@@ -52,6 +52,9 @@ idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS ${include}
|
||||
REQUIRES esp_event # For using "ESP_EVENT_DECLARE_BASE" in header file
|
||||
PRIV_REQUIRES ${priv_requires})
|
||||
if(CONFIG_ETH_ENABLED)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
endif()
|
||||
|
||||
if(CONFIG_ETH_ENABLED)
|
||||
if(CONFIG_ETH_USE_SPI_ETHERNET)
|
||||
|
||||
Reference in New Issue
Block a user