From 51879d6cd8d481ab9f9ce90f8f9878b0324117e3 Mon Sep 17 00:00:00 2001 From: Songsong Zhang Date: Tue, 23 Jul 2024 09:42:03 +0000 Subject: [PATCH] do not install gold in riscv64 --- rust.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust.spec b/rust.spec index 4a64e3d..9f509c4 100644 --- a/rust.spec +++ b/rust.spec @@ -292,7 +292,10 @@ BuildRequires: python3-rpm BuildRequires: glibc-static # For tests/run-make/pgo-branch-weights +# riscv64 does not support binutils-gold yet +%ifnarch riscv64 BuildRequires: binutils-gold +%endif # Virtual provides for folks who attempt "dnf install rustc" Provides: rustc = %{version}-%{release}