mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
4c89f67b65
commit
0902a17454
|
@ -44,7 +44,7 @@ function(mbed_set_toolchain_options target)
|
||||||
|
|
||||||
target_compile_options(${target}
|
target_compile_options(${target}
|
||||||
PUBLIC
|
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}>
|
$<$<COMPILE_LANGUAGE:ASM>:${MBED_STUDIO_ARM_COMPILER}>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue