From 42d4c432059de719e64d280eb62a0fd0fe11b047 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 13 Nov 2023 13:11:25 +0200 Subject: [PATCH] Disable FMA on riscv64 Signed-off-by: David Abdurachmanov --- gsl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gsl.spec b/gsl.spec index 995cffb..b204350 100644 --- a/gsl.spec +++ b/gsl.spec @@ -1,7 +1,7 @@ Summary: The GNU Scientific Library for numerical analysis Name: gsl Version: 2.7.1 -Release: 5%{?dist} +Release: 5.0.riscv64%{?dist} URL: http://www.gnu.org/software/gsl/ License: GPLv3+ Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz @@ -42,7 +42,7 @@ mv THANKS.aux THANKS %build # disable FMA -%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64 +%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64 riscv64 export CFLAGS="%{optflags} -ffp-contract=off" %endif %configure @@ -83,6 +83,9 @@ rm -r %{buildroot}%{_libdir}/*.a %{_includedir}/gsl/ %changelog +* Mon Nov 13 2023 David Abdurachmanov - 2.7.1-5.0.riscv64 +- Disable FMA on riscv64 + * Thu Jul 20 2023 Fedora Release Engineering - 2.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild