mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge 41830433f4
into 9b3eda0974
This commit is contained in:
commit
71987834ea
@ -19,9 +19,9 @@ idf_component_register(SRCS ${srcs}
|
|||||||
REQUIRES esp_partition
|
REQUIRES esp_partition
|
||||||
PRIV_REQUIRES ${pr} spi_flash)
|
PRIV_REQUIRES ${pr} spi_flash)
|
||||||
|
|
||||||
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
|
||||||
set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Upstream SPIFFS code uses format specifiers in debug logging macros inconsistently
|
# Upstream SPIFFS code uses format specifiers in debug logging macros inconsistently
|
||||||
|
list(TRANSFORM original_srcs PREPEND "${CMAKE_CURRENT_LIST_DIR}/")
|
||||||
set_source_files_properties(${original_srcs} PROPERTIES COMPILE_FLAGS -Wno-format)
|
set_source_files_properties(${original_srcs} PROPERTIES COMPILE_FLAGS -Wno-format)
|
||||||
|
|
||||||
|
get_source_file_property(nucleus_cc_flags "${CMAKE_CURRENT_LIST_DIR}/spiffs/src/spiffs_nucleus.c" COMPILE_FLAGS)
|
||||||
|
set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/spiffs/src/spiffs_nucleus.c" PROPERTIES COMPILE_FLAGS "${nucleus_cc_flags} -Wno-tautological-compare")
|
||||||
|
Loading…
Reference in New Issue
Block a user