This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new fe5ee0c6ac arm64/toolchain: Fix toolchain judgment after opening lto
fe5ee0c6ac is described below
commit fe5ee0c6acc6241bcdc1832075a53a3d8f2590d7
Author: wangmingrong1 <[email protected]>
AuthorDate: Thu Dec 5 11:22:05 2024 +0800
arm64/toolchain: Fix toolchain judgment after opening lto
Signed-off-by: wangmingrong1 <[email protected]>
---
arch/arm64/src/Toolchain.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/src/Toolchain.defs b/arch/arm64/src/Toolchain.defs
index d90b7ee42e..948be91c99 100644
--- a/arch/arm64/src/Toolchain.defs
+++ b/arch/arm64/src/Toolchain.defs
@@ -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