Signed-off-by: Michael Tremer --- lfs/Config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lfs/Config b/lfs/Config index 92d719892..9309b832d 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 -- 2.30.2