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
… but compilation works. Removed
  • Loading branch information
denizzzka committed Apr 15, 2024
1 parent 5a40bb8 commit 8d53415
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions components/spiffs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,3 @@ idf_component_register(SRCS ${srcs}
PRIV_INCLUDE_DIRS "." "spiffs/src"
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
set_source_files_properties(${original_srcs} PROPERTIES COMPILE_FLAGS -Wno-format)

0 comments on commit 8d53415

Please sign in to comment.