fix(cmakev2): Remove redundant picolibc flags from project.cmake

This commit removes picolibc flags from project.cmake file since they
are added by the esp_libc component when project_include.cmake files are
evaluated.
This commit is contained in:
Sudeep Mohanty
2025-12-23 13:22:15 +01:00
parent a69cbb5384
commit 9680db6bae
-6
View File
@@ -416,12 +416,6 @@ function(__init_project_configuration)
list(APPEND link_options "-rtlib=${CONFIG_COMPILER_RT_LIB_NAME}")
endif()
if(CONFIG_LIBC_PICOLIBC)
list(APPEND c_compile_options "-specs=picolibc.specs")
list(APPEND cxx_compile_options "-specs=picolibcpp.specs")
list(APPEND link_options "-specs=picolibc.specs")
endif()
if("${linker_type}" STREQUAL "GNU")
set(target_upper "${idf_target}")
string(TOUPPER ${target_upper} target_upper)