diff --git a/findutils.spec b/findutils.spec index 1db548b..83c862d 100644 --- a/findutils.spec +++ b/findutils.spec @@ -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 - 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 - 1:4.7.0-5