From 7f71accce31680aceabb914ee8fd202b1b0e376c Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 19 Oct 2020 16:14:46 +0200 Subject: [PATCH] Disable lto to work around lconvert segfaulting on armv7hl (#1884681) --- qt5-qttools.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/qt5-qttools.spec b/qt5-qttools.spec index 940ba73..b21e785 100644 --- a/qt5-qttools.spec +++ b/qt5-qttools.spec @@ -10,7 +10,7 @@ Summary: Qt5 - QtTool components Name: qt5-qttools Version: 5.15.1 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv3 or LGPLv2 Url: http://www.qt.io @@ -178,6 +178,12 @@ Requires: %{name}-common = %{version}-%{release} %build +# Disable lto to work around lconvert segfaulting on armv7hl +# https://bugzilla.redhat.com/show_bug.cgi?id=1884681 +%ifarch armv7hl +%define _lto_cflags %{nil} +%endif + %{qmake_qt5} \ %{?no_examples} @@ -478,6 +484,9 @@ fi %changelog +* Mon Oct 19 2020 Kalev Lember - 5.15.1-2 +- Disable lto to work around lconvert segfaulting on armv7hl (#1884681) + * Thu Sep 10 2020 Jan Grulich - 5.15.1-1 - 5.15.1