From 3fa52b93121c56a9db80a3269e49b86dce9e4ba8 Mon Sep 17 00:00:00 2001 From: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com> Date: Fri, 6 Nov 2020 09:30:33 +0000 Subject: [PATCH] CMake: Fix Microlib selection (#13871) As the assembler does not seem to recognise the request to the linker to use microlib, remove that instruction. Microlib is still used as the linker selects microlib as a result of being explicitly asked to do so. --- tools/cmake/toolchains/ARM.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/cmake/toolchains/ARM.cmake b/tools/cmake/toolchains/ARM.cmake index f0154e70aa..d8a835d170 100644 --- a/tools/cmake/toolchains/ARM.cmake +++ b/tools/cmake/toolchains/ARM.cmake @@ -80,11 +80,6 @@ function(mbed_set_c_lib target lib_type) __MICROLIB ) - target_compile_options(${target} - INTERFACE - $<$:"--library_type=microlib"> - ) - target_link_options(${target} INTERFACE "--library_type=microlib"