mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 14:44:32 +02:00
spiffs: only add GCC-specific flags when building with GCC
This commit is contained in:
@@ -10,4 +10,6 @@ idf_component_register(SRCS "esp_spiffs.c"
|
||||
REQUIRES spi_flash
|
||||
PRIV_REQUIRES bootloader_support esptool_py)
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
||||
set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user