mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 20:35:08 +02: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
@@ -20,3 +20,5 @@ endif()
|
||||
if(extra_link_flags)
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "${extra_link_flags}")
|
||||
endif()
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
@@ -6,3 +6,4 @@ set(sources "test_pthread.c"
|
||||
|
||||
idf_component_register(SRCS ${sources}
|
||||
PRIV_REQUIRES cmock test_utils pthread esp_timer)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
Reference in New Issue
Block a user