From 42d899f221cebf66c70f48ee9043b8ba8cc7c15d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Jul 2020 12:44:21 -0600 Subject: [PATCH] Disable LTO --- qt5-qtscript.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/qt5-qtscript.spec b/qt5-qtscript.spec index 6f73539..3f0dab7 100644 --- a/qt5-qtscript.spec +++ b/qt5-qtscript.spec @@ -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 - 5.14.2-2 +- Disable LTO + * Sat Apr 04 2020 Rex Dieter - 5.14.2-1 - 5.14.2