File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- set (CMAKE_ASM_COMPILER "armasm " )
4
+ set (CMAKE_ASM_COMPILER "armclang " )
5
5
set (CMAKE_C_COMPILER "armclang" )
6
6
set (CMAKE_CXX_COMPILER "armclang" )
7
7
set (CMAKE_AR "armar" )
@@ -42,14 +42,10 @@ function(mbed_set_toolchain_options target)
42
42
$< $< COMPILE_LANGUAGE:CXX> :${common_options} >
43
43
)
44
44
45
- set (asm_preproc_options
46
- "--target=arm-arm-none-eabi,-D,MBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED"
47
- )
48
45
target_compile_options (${target}
49
46
PUBLIC
47
+ $< $< COMPILE_LANGUAGE:ASM> :--target=arm-arm-none-eabi -masm=armasm>
50
48
$< $< COMPILE_LANGUAGE:ASM> :${MBED_STUDIO_ARM_COMPILER} >
51
- $< $< COMPILE_LANGUAGE:ASM> :--cpreproc>
52
- $< $< COMPILE_LANGUAGE:ASM> :--cpreproc_opts=${asm_preproc_options} >
53
49
)
54
50
55
51
target_compile_definitions (${target}
You can’t perform that action at this time.
0 commit comments