From c287e98af2701f0c5ab4030b9907ea3d89e303ce Mon Sep 17 00:00:00 2001 From: Jonas Jelonek Date: Thu, 17 Aug 2023 10:57:16 +0200 Subject: [PATCH] rust: correct mistake in previous host-build fix Fixes the commit 105fa3920e which was intended to make rust/host build on aarch64 darwin working again. However, the fix contains a mistake because it sets RUSTC_TARGET_ARCH instead of RUSTC_HOST_ARCH. Thus, the fix doesn't work. This properly sets the correct variable RUSTC_HOST_ARCH. Fixes: 105fa3920e ("rust: fix host build on aarch64 darwin") Signed-off-by: Jonas Jelonek --- lang/rust/rust-values.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/rust/rust-values.mk b/lang/rust/rust-values.mk index 6209e5e12..26935c0f6 100644 --- a/lang/rust/rust-values.mk +++ b/lang/rust/rust-values.mk @@ -24,7 +24,7 @@ endif ifeq ($(HOST_OS),Darwin) ifeq ($(HOST_ARCH),arm64) - RUSTC_TARGET_ARCH:=aarch64-apple-darwin + RUSTC_HOST_ARCH:=aarch64-apple-darwin endif endif