diff --git a/libqt5-qt3d.changes b/libqt5-qt3d.changes index 6023be4..8f05cf5 100644 --- a/libqt5-qt3d.changes +++ b/libqt5-qt3d.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Jul 12 13:21:22 UTC 2019 - Fabian Vogt + +- Drop lto-workaround.patch in favor of just disabling LTO + +------------------------------------------------------------------- +Fri Jul 12 11:42:02 UTC 2019 - Fabian Vogt + +- Add patch to fix build with LTO enabled: + * lto-workaround.patch + ------------------------------------------------------------------- Wed Jun 19 11:18:55 UTC 2019 - fabian@ritter-vogt.de diff --git a/libqt5-qt3d.spec b/libqt5-qt3d.spec index c3f6126..7bf4262 100644 --- a/libqt5-qt3d.spec +++ b/libqt5-qt3d.spec @@ -56,7 +56,7 @@ Qt 3D provides functionality for near-realtime simulation systems with support for 2D and 3D rendering in both Qt C++ and Qt Quick applications. %prep -%setup -q -n %{tar_version} +%autosetup -p1 -n %{tar_version} %package -n %libname Summary: Qt 5 3D Addon @@ -413,6 +413,8 @@ the exact Qt version. %postun -n libQt53DQuickExtras5 -p /sbin/ldconfig %build +# -flto breaks CONFIG += resources_big (QTBUG-73834), but resources_big is needed to prevent excessive memory use +%define _lto_cflags %{nil} %if %qt5_snapshot #force the configure script to generate the forwarding headers (it checks whether .git directory exists) mkdir .git