arm64/toolchain: Fix toolchain judgment after opening lto

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1 2024-12-05 11:22:05 +08:00 committed by Xiang Xiao
parent 3e3701b272
commit fe5ee0c6ac

View file

@ -197,7 +197,7 @@ NM = $(CROSSDEV)nm
ifeq ($(CONFIG_LTO_FULL),y)
ARCHOPTIMIZATION += -flto
ifeq ($(CONFIG_ARM_TOOLCHAIN_GNU_EABI),y)
ifeq ($(CONFIG_ARM64_TOOLCHAIN_GNU_EABI),y)
LD := $(CROSSDEV)gcc
AR := $(CROSSDEV)gcc-ar rcs
NM := $(CROSSDEV)gcc-nm