Skip to content

Commit

Permalink
set_source_files_properties uneffective: points to unavailable files
Browse files Browse the repository at this point in the history
  • Loading branch information
denizzzka committed Apr 15, 2024
1 parent 5a40bb8 commit 1eab6cd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/spiffs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ idf_component_register(SRCS ${srcs}
REQUIRES esp_partition
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
list(TRANSFORM original_srcs PREPEND "${CMAKE_CURRENT_LIST_DIR}/")
set_source_files_properties(${original_srcs} PROPERTIES COMPILE_FLAGS -Wno-format)

0 comments on commit 1eab6cd

Please sign in to comment.