From f737b8c4dddc2d64481479aec6c85bead138c1af Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 7 Oct 2024 20:32:16 -0700 Subject: [PATCH] Reenable the aarch64-unknown-none-softfloat target on RHEL This was dropped in https://gitlab.com/redhat/centos-stream/rpms/rust/-/commit/bdc2be1e01cc1b9cd63a34a0a4940b450a482863 but it's needed for EPEL 10, so adding it back. Resolves: RHEL-60808 Signed-off-by: Davide Cavalca (cherry picked from commit 175d35473cf8885da93bc888f7f4a54a369c84cd) --- rust.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust.spec b/rust.spec index 63e6097..b237757 100644 --- a/rust.spec +++ b/rust.spec @@ -46,6 +46,9 @@ ExclusiveArch: %{rust_arches} %if 0%{?fedora} %global extra_targets aarch64-unknown-none-softfloat aarch64-unknown-uefi %endif +%if 0%{?rhel} >= 10 +%global extra_targets aarch64-unknown-none-softfloat +%endif %endif %global all_targets %{?mingw_targets} %{?wasm_targets} %{?extra_targets} %define target_enabled() %{lua: