From 19cb17d134b18d9e7e51272733067421e416f4f3 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Tue, 4 Oct 2022 14:52:59 +0300 Subject: [PATCH] Disable FMA on riscv64 Same as on other arches. Signed-off-by: David Abdurachmanov --- gsl.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gsl.spec b/gsl.spec index b8d3223..999d5e1 100644 --- a/gsl.spec +++ b/gsl.spec @@ -1,7 +1,7 @@ Summary: The GNU Scientific Library for numerical analysis Name: gsl Version: 2.6 -Release: 7%{?dist} +Release: 7.0.riscv64%{?dist} URL: http://www.gnu.org/software/gsl/ License: GPLv3+ Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz @@ -40,7 +40,7 @@ mv THANKS.aux THANKS %build # disable FMA -%ifarch aarch64 ppc64 ppc64le s390 s390x +%ifarch aarch64 ppc64 ppc64le s390 s390x riscv64 export CFLAGS="%{optflags} -ffp-contract=off" %endif %configure @@ -81,6 +81,9 @@ rm -r %{buildroot}%{_libdir}/*.a %{_includedir}/gsl/ %changelog +* Tue Oct 04 2022 David Abdurachmanov - 2.6-7.0.riscv64 +- Disable FMA on riscv64 + * Thu Jul 21 2022 Fedora Release Engineering - 2.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild