From b84e9b69baea08b546e041d271209194ad625495 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Fri, 11 Apr 2025 14:56:06 +0200 Subject: [PATCH] fix(newlib/cmake): avoid using uninitialized ldfragments variable Signed-off-by: Frantisek Hrbata --- components/newlib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/components/newlib/CMakeLists.txt b/components/newlib/CMakeLists.txt index 0d23f0f103..99a11e810f 100644 --- a/components/newlib/CMakeLists.txt +++ b/components/newlib/CMakeLists.txt @@ -66,6 +66,7 @@ else() "src/picolibc/open_memstream.c") endif() +set(ldfragments "") list(APPEND ldfragments "src/newlib.lf" "src/system_libs.lf") if(CONFIG_SPIRAM_CACHE_WORKAROUND)