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.
pull/13566/head
Hugues Kamba 2020-11-06 09:30:33 +00:00 committed by Hugues Kamba
parent d48415cc67
commit 3fa52b9312
1 changed files with 0 additions and 5 deletions

View File

@ -80,11 +80,6 @@ function(mbed_set_c_lib target lib_type)
__MICROLIB
)
target_compile_options(${target}
INTERFACE
$<$<COMPILE_LANGUAGE:ASM>:"--library_type=microlib">
)
target_link_options(${target}
INTERFACE
"--library_type=microlib"