mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user