Re-enable LTO

This commit is contained in:
Jeff Law 2022-02-12 17:12:55 -05:00
parent 45ed0b43e3
commit 3229b494fa

View File

@ -4,7 +4,7 @@
Name: gpsd
Version: 3.23.1
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 1
Summary: Service daemon for mediating access to a GPS
@ -113,11 +113,6 @@ This package contains various clients using gpsd.
sed -i 's|systemctl daemon-reload|true|' SConscript
%build
# LTO breaks aarch64 build
%ifarch aarch64
%define _lto_cflags %{nil}
%endif
export CCFLAGS="%{optflags}"
export LINKFLAGS="%{__global_ldflags}"
@ -298,6 +293,9 @@ rm -rf %{buildroot}%{_docdir}/gpsd
%{_datadir}/gpsd/gpsd-logo.png
%changelog
* Sat Feb 12 2022 Jeff Law <jeffreyalaw@gmail.com> - 1:3.23.1-3
- Re-enable LTO
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.23.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild