Disable LTO
This commit is contained in:
parent
73402fbec5
commit
4c77fedae7
10
libindi.spec
10
libindi.spec
|
@ -1,6 +1,6 @@
|
|||
Name: libindi
|
||||
Version: 1.8.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Instrument Neutral Distributed Interface
|
||||
|
||||
License: LGPLv2+ and GPLv2+
|
||||
|
@ -69,6 +69,11 @@ chmod -x drivers/telescope/lx200fs2.h
|
|||
chmod -x drivers/telescope/lx200fs2.cpp
|
||||
|
||||
%build
|
||||
# This package tries to mix and match PIE and PIC which is wrong and will
|
||||
# trigger link errors when LTO is enabled.
|
||||
# Disable LTO
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
%cmake .
|
||||
make VERBOSE=1 %{?_smp_mflags}
|
||||
|
||||
|
@ -98,6 +103,9 @@ make install DESTDIR=%{buildroot}
|
|||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Wed Jul 08 2020 Jeff Law <law@redhat.com> 1.8.1-4
|
||||
- Disable LTO
|
||||
|
||||
* Sun Mar 01 2020 Sergio Pascual <sergiopr@fedoraproject.org> 1.8.1-3
|
||||
- Patch stime in arm (bz#1799588)
|
||||
|
||||
|
|
Loading…
Reference in New Issue