mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 21:04:33 +04:00
rust: correct mistake in previous host-build fix
Fixes the commit105fa3920ewhich 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 <jelonek.jonas@gmail.com>
This commit is contained in:
committed by
Tianling Shen
parent
23113ceb97
commit
c287e98af2
@@ -24,7 +24,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(HOST_OS),Darwin)
|
ifeq ($(HOST_OS),Darwin)
|
||||||
ifeq ($(HOST_ARCH),arm64)
|
ifeq ($(HOST_ARCH),arm64)
|
||||||
RUSTC_TARGET_ARCH:=aarch64-apple-darwin
|
RUSTC_HOST_ARCH:=aarch64-apple-darwin
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user