From: Michael Tremer Date: Tue, 22 Feb 2022 12:51:28 +0000 (+0000) Subject: rust: Rust's arch for riscv64 is called riscv64gc X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fec125684fc869952fab8634f948dd14b0c76a2;p=people%2Fms%2Fipfire-2.x.git rust: Rust's arch for riscv64 is called riscv64gc Signed-off-by: Michael Tremer --- diff --git a/lfs/Config b/lfs/Config index 92d7198920..9309b832d8 100644 --- a/lfs/Config +++ b/lfs/Config @@ -157,7 +157,11 @@ ifeq "$(BUILD_ARCH)" "aarch64" endif # Rust -RUST_ARCH = $(BUILD_ARCH) +ifeq "$(BUILD_ARCH)" "riscv64" + RUST_ARCH = riscv64gc +else + RUST_ARCH = $(BUILD_ARCH) +endif ifeq "$(BUILD_ARCH)" "armv6l" RUST_PLATFORM = arm-unknown-linux-gnueabi