From ffe35ecf07f8c97846a79389089163f2196bd99f Mon Sep 17 00:00:00 2001 From: dongheng Date: Sat, 12 Oct 2019 13:43:02 +0800 Subject: [PATCH] fix(newlib): remove library gcc declare --- components/newlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/newlib/CMakeLists.txt b/components/newlib/CMakeLists.txt index ec17652a..1bf5a74c 100644 --- a/components/newlib/CMakeLists.txt +++ b/components/newlib/CMakeLists.txt @@ -26,7 +26,7 @@ target_compile_definitions(${COMPONENT_LIB} PUBLIC target_link_libraries(${COMPONENT_LIB} PUBLIC "-L ${CMAKE_CURRENT_SOURCE_DIR}/newlib/lib") -set(blobs "${LIBC}" "${LIBM}" "gcc") +set(blobs "${LIBC}" "${LIBM}") foreach(blob ${blobs}) add_library(${blob} STATIC IMPORTED) set_property(TARGET ${blob} PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/newlib/lib/lib${blob}.a)