Related: #1789115 - disable -flto on ppc64le to make test-float pass

This commit is contained in:
Kamil Dudka 2020-07-24 18:51:12 +02:00
parent eebaae56fd
commit 8de28b81ab
1 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,11 @@ git add --all .
git commit -q -m "after invocation of autoreconf"
%build
# disable -flto on ppc64le to make test-float pass (#1789115)
%ifarch ppc64le
export CFLAGS="$RPM_OPT_FLAGS -fno-lto"
%endif
mkdir build
cd build
%global _configure ../configure
@ -113,6 +118,7 @@ rm -f %{buildroot}%{_infodir}/dir
%changelog
* Fri Jul 24 2020 Kamil Dudka <kdudka@redhat.com> - 1:4.7.0-6
- disable -flto on ppc64le to make test-float pass (#1789115)
- do not compile with -D__SUPPORT_SNAN__ (#1294016)
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1:4.7.0-5