Re-enable LTO
This commit is contained in:
parent
45ed0b43e3
commit
3229b494fa
10
gpsd.spec
10
gpsd.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user