Build with -ffp-contract=off on riscv64
Otherwise we have a single failing tests because on NaN. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
6522d900f8
commit
054127749a
|
@ -47,7 +47,7 @@
|
||||||
Name: gawk
|
Name: gawk
|
||||||
Summary: The GNU version of the AWK text processing utility
|
Summary: The GNU version of the AWK text processing utility
|
||||||
Version: 5.1.1
|
Version: 5.1.1
|
||||||
Release: 5%{?dist}
|
Release: 5.0.riscv64%{?dist}
|
||||||
|
|
||||||
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
|
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
|
||||||
|
|
||||||
|
@ -205,6 +205,10 @@ git commit --all --amend --no-edit > /dev/null
|
||||||
# ---------------
|
# ---------------
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch riscv64
|
||||||
|
%define _pkg_extra_cflags -ffp-contract=off
|
||||||
|
%endif
|
||||||
|
|
||||||
# NOTE: The re-generating of ./configure (below) should be removed once the
|
# NOTE: The re-generating of ./configure (below) should be removed once the
|
||||||
# direct dependency on 'aclocal-1.15' is fixed in upstream and backported.
|
# direct dependency on 'aclocal-1.15' is fixed in upstream and backported.
|
||||||
autoreconf --force --verbose
|
autoreconf --force --verbose
|
||||||
|
@ -292,6 +296,9 @@ install -m 0644 -p awklib/eg/data/* %{buildroot}%{_docdir}/%{name}/eg/data/
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 01 2023 David Abdurachmanov <davidlt@rivosinc.com> - 5.1.1-5.0.riscv64
|
||||||
|
- Build with -ffp-contract=off on riscv64
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-5
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue