From 9680db6bae38cc3f5b7b642d05d74923fb825a3d Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Tue, 23 Dec 2025 13:22:15 +0100 Subject: [PATCH] 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. --- tools/cmakev2/project.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/cmakev2/project.cmake b/tools/cmakev2/project.cmake index 169ebd5770..56c31b9a09 100644 --- a/tools/cmakev2/project.cmake +++ b/tools/cmakev2/project.cmake @@ -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)