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
@@ -104,3 +104,5 @@ if(NOT BOOTLOADER_BUILD)
|
||||
idf_component_optional_requires(PRIVATE esp_psram)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
@@ -19,3 +19,4 @@ idf_component_register(SRC_DIRS .
|
||||
EXCLUDE_SRCS "${excludes}"
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES "${requires}")
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
Reference in New Issue
Block a user