Try to build with -ffp-contract=off to avoid test failure with NaN

This commit is contained in:
David Abdurachmanov 2022-11-08 11:22:02 +02:00
parent 75c7327fde
commit 8a370c8c74
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 4 additions and 8 deletions

View File

@ -1,7 +1,3 @@
%ifarch riscv64
%global debug_package %{nil}
%endif
#
# Important notes regarding the package:
# ======================================
@ -51,7 +47,7 @@
Name: gawk
Summary: The GNU version of the AWK text processing utility
Version: 5.1.1
Release: 4.0.riscv64%{?dist}
Release: 4.1.riscv64%{?dist}
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
@ -214,7 +210,7 @@ git commit --all --amend --no-edit > /dev/null
autoreconf --force --verbose
%configure
%make_build
%make_build CLAGS="%{optflags} -ffp-contract=off"
# Build the documentation in PDF, postscript and HTML versions:
%make_build -C doc pdf
@ -300,8 +296,8 @@ install -m 0644 -p awklib/eg/data/* %{buildroot}%{_docdir}/%{name}/eg/data/
# =============================================================================
%changelog
* Sat Aug 06 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5.1.1-4.0.riscv64
- Disable debug packages on riscv64
* Sat Aug 06 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5.1.1-4.1.riscv64
- Try to build with -ffp-contract=off
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild