mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
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:
committed by
Xiang Xiao
parent
3314201f64
commit
6b8bcd673b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user