Skip to content

Commit 3fa52b9

Browse files
committed
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.
1 parent d48415c commit 3fa52b9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/cmake/toolchains/ARM.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ function(mbed_set_c_lib target lib_type)
8080
__MICROLIB
8181
)
8282

83-
target_compile_options(${target}
84-
INTERFACE
85-
$<$<COMPILE_LANGUAGE:ASM>:"--library_type=microlib">
86-
)
87-
8883
target_link_options(${target}
8984
INTERFACE
9085
"--library_type=microlib"

0 commit comments

Comments
 (0)