Notification time stamped 2020-08-31 20:12:11 UTC
From 8adf5597453d2432ed0f2b6221eea6ee6ea1cbea Mon Sep 17 00:00:00 2001
From: Jeff Law <law(a)redhat.com>
Date: Jul 01 2020 18:41:50 +0000
Subject: Disable LTO
---
diff --git a/qcad.spec b/qcad.spec
index 5b75c49..14509dc 100644
--- a/qcad.spec
+++ b/qcad.spec
@@ -3,7 +3,7 @@
Name: qcad
Version: 3.24.3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Powerful 2D CAD system
## Main license: GPLv3
@@ -91,6 +91,12 @@ mv
src/3rdparty/qt-labs-qtscriptgenerator-5.14.2/qt-labs-qtscriptgenerator-5.14.
src/3rdparty/qt-labs-qtscriptgenerator-5.14.2/qt-labs-qtscriptgenerator-5.14.2.pro
%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}
+
%{_qt5_qmake} -makefile CONFIG+=release %{name}.pro \
QMAKE_CFLAGS_RELEASE+="%{_qt5_optflags} -I%{_includedir}/quazip5
-I%{_qt5_includedir}/QtUiTools -I$PWD/src/3rdparty/spatialindexnavel/include" \
QMAKE_CXXFLAGS_RELEASE+="%{_qt5_optflags} -I%{_includedir}/quazip5
-I%{_qt5_includedir}/QtUiTools -I$PWD/src/3rdparty/spatialindexnavel/include" \
@@ -221,6 +227,9 @@ appstream-util validate-relax --nonet
%{buildroot}%{_metainfodir}/*.appdata.xml
%{_mandir}/man1/*
%changelog
+* Wed Jul 1 2020 Jeff Law <law(a)redhat.com> - 3.24.3.0-3
+- Disable LTO
+
* Sat Jun 20 2020 Antonio Trande <sagitter(a)fedoraproject.org> - 3.24.3.0-2
- Modification to the desktop file (rhbz#1849265)
https://src.fedoraproject.org/rpms/qcad/c/8adf5597453d2432ed0f2b6221eea6e...