Disable FMA on riscv64
Same as on other arches. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
5310588d9f
commit
19cb17d134
7
gsl.spec
7
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 <davidlt@rivosinc.com> - 2.6-7.0.riscv64
|
||||
- Disable FMA on riscv64
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user