Disable LTO
This commit is contained in:
parent
eb55123a07
commit
42d899f221
@ -15,7 +15,7 @@
|
||||
Summary: Qt5 - QtScript component
|
||||
Name: qt5-%{qt_module}
|
||||
Version: 5.14.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||
@ -71,6 +71,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%build
|
||||
# QT is known not to work properly with LTO at this point. Some of the issues
|
||||
# are being worked on upstream and disabling LTO should be re-evaluated as
|
||||
# we update this change. Until such time...
|
||||
# Disable LTO
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
# workaround serious failures when building with f28's gcc8
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1551246
|
||||
#if 0%{?fedora} > 27
|
||||
@ -141,6 +147,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 5.14.2-2
|
||||
- Disable LTO
|
||||
|
||||
* Sat Apr 04 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.14.2-1
|
||||
- 5.14.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user