arm64/toolchain: Fix toolchain judgment after opening lto
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
parent
3e3701b272
commit
fe5ee0c6ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue