arm64/toolchain.defs: clang should specify target
If not specified, the corresponding libgcc. a cannot be found Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
parent
3314201f64
commit
6b8bcd673b
1 changed files with 4 additions and 0 deletions
|
|
@ -60,6 +60,10 @@ else ifeq ($(CONFIG_ARCH_CORTEX_R82),y)
|
|||
ARCHCPUFLAGS += -mcpu=cortex-r82
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARM_TOOLCHAIN_CLANG),y)
|
||||
ARCHCPUFLAGS += --target=aarch64-none-elf
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y)
|
||||
ARCHOPTIMIZATION += $(CONFIG_DEBUG_OPTLEVEL)
|
||||
else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue