Disable FMA on riscv64

This commit is contained in:
DESKTOP-FFQ7OSJ\jean 2022-01-20 10:01:01 +08:00
parent 7dedc35f73
commit f6a8f0bb52

View File

@ -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 <wujie@nj.iscas.ac.cn> - 2.4-10
- Disable FMA on riscv64 from http://fedora.riscv.rocks/koji/buildinfo?buildID=189607
Author is David Abdurachmanov <david.abdurachmanov@sifive.com>
* Fri Feb 14 2020 fengbing <fengbing7@huawei.com> - 2.4-9
- Package init