mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +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
|
ARCHCPUFLAGS += -mcpu=cortex-r82
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARM_TOOLCHAIN_CLANG),y)
|
||||||
|
ARCHCPUFLAGS += --target=aarch64-none-elf
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y)
|
ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y)
|
||||||
ARCHOPTIMIZATION += $(CONFIG_DEBUG_OPTLEVEL)
|
ARCHOPTIMIZATION += $(CONFIG_DEBUG_OPTLEVEL)
|
||||||
else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
|
else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user