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
@@ -7,3 +7,5 @@ idf_component_register(SRCS "esp_http_client.c"
|
||||
# lwip is a public requirement because esp_http_client.h includes sys/socket.h
|
||||
REQUIRES lwip
|
||||
PRIV_REQUIRES tcp_transport http_parser)
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
idf_component_register(SRC_DIRS "."
|
||||
PRIV_INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES cmock test_utils esp_http_client)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
Reference in New Issue
Block a user