From f6a8f0bb528f9b710ceb4562a4f8cedc3aa2dc8b Mon Sep 17 00:00:00 2001 From: "DESKTOP-FFQ7OSJ\\jean" Date: Thu, 20 Jan 2022 10:01:01 +0800 Subject: [PATCH] Disable FMA on riscv64 --- gsl.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gsl.spec b/gsl.spec index 2dcc714..c6fd08c 100644 --- a/gsl.spec +++ b/gsl.spec @@ -1,6 +1,6 @@ Name: gsl Version: 2.4 -Release: 9 +Release: 10 Summary: The GNU Scientific Library for numerical analysis URL: http://www.gnu.org/software/gsl/ License: GPLv3 and GFDL and BSD @@ -36,7 +36,7 @@ mv THANKS.aux THANKS %build # disable FMA -%ifarch aarch64 +%ifarch aarch64 riscv64 export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off" %endif %configure @@ -90,5 +90,9 @@ fi %{_mandir}/man3/*.3* %changelog +* Thu Jan 20 2022 wujie - 2.4-10 +- Disable FMA on riscv64 from http://fedora.riscv.rocks/koji/buildinfo?buildID=189607 + Author is David Abdurachmanov + * Fri Feb 14 2020 fengbing - 2.4-9 - Package init