!6 Disable FMA on riscv64

From: @jean9823 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-07-13 11:09:02 +00:00 committed by Gitee
commit c414ed4332
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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