enable LTO on ppc64le

Related: RHEL-39698
This commit is contained in:
Lukáš Zaoral 2024-06-04 13:18:00 +02:00
parent 8a1f027637
commit 411ab6955e
No known key found for this signature in database
GPG Key ID: 39157506DD67752D

View File

@ -1,7 +1,7 @@
Summary: The GNU versions of find utilities (find and xargs)
Name: findutils
Version: 4.10.0
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/findutils/
@ -90,11 +90,6 @@ 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
@ -123,6 +118,9 @@ rm -f %{buildroot}%{_infodir}/dir
%{_infodir}/find-maint.info.*
%changelog
* Tue Jun 04 2024 Lukáš Zaoral <lzaoral@redhat.com> - 1:4.10.0-2
- enable LTO on ppc64le to fix rpminspect warnings
* Mon Jun 03 2024 Lukáš Zaoral <lzaoral@redhat.com> - 1:4.10.0-1
- rebase to latest upstream version (RHEL-39698)
- add GPG tarball verification