From 945bd3e02cdd661cb8cc4cbac582110f67f2afb6 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Wed, 22 May 2024 15:44:24 +0200 Subject: [PATCH] WIP - test nano + nosys --- cmake/ToolchainGCCArmDefine.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ToolchainGCCArmDefine.cmake b/cmake/ToolchainGCCArmDefine.cmake index a4bb45afe2..47d617bc0e 100644 --- a/cmake/ToolchainGCCArmDefine.cmake +++ b/cmake/ToolchainGCCArmDefine.cmake @@ -45,4 +45,4 @@ set(CMAKE_C_FLAGS_INIT "${CHIP_FLAGS}") set(CMAKE_CXX_FLAGS_INIT "${CHIP_FLAGS} -Wvla -fno-exceptions -fno-rtti") set(CMAKE_ASM_FLAGS_INIT "${CHIP_FLAGS}") -set(CMAKE_EXE_LINKER_FLAGS_INIT "${CHIP_LINKER_FLAGS} --specs=nano.specs -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group") +set(CMAKE_EXE_LINKER_FLAGS_INIT "${CHIP_LINKER_FLAGS} --specs=nosys.specs --specs=nano.specs -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group")