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.
pull/13566/head
Martin Kojtal 2020-09-03 07:07:59 +01:00 committed by Hugues Kamba
parent 4c89f67b65
commit 0902a17454
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ function(mbed_set_toolchain_options target)
target_compile_options(${target}
PUBLIC
$<$<COMPILE_LANGUAGE:ASM>:--target=arm-arm-none-eabi -masm=armasm>
$<$<COMPILE_LANGUAGE:ASM>:--target=arm-arm-none-eabi -masm=auto>
$<$<COMPILE_LANGUAGE:ASM>:${MBED_STUDIO_ARM_COMPILER}>
)