Skip to content

Commit ab48be2

Browse files
committed
CMake ARMClang: use -masm=auto
Auto mode for ASM files. There might be rare cases where this fails, we will fix them by requesting the component to use gnu syntax for assembly files.
1 parent d2a6421 commit ab48be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/toolchains/ARM.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function(mbed_set_toolchain_options target)
4444

4545
target_compile_options(${target}
4646
PUBLIC
47-
$<$<COMPILE_LANGUAGE:ASM>:--target=arm-arm-none-eabi -masm=armasm>
47+
$<$<COMPILE_LANGUAGE:ASM>:--target=arm-arm-none-eabi -masm=auto>
4848
$<$<COMPILE_LANGUAGE:ASM>:${MBED_STUDIO_ARM_COMPILER}>
4949
)
5050

0 commit comments

Comments
 (0)