SHA256
1
0
forked from pool/libqt5-qt3d

Accepting request 715705 from KDE:Qt:5.13

- Drop lto-workaround.patch in favor of just disabling LTO

- Add patch to fix build with LTO enabled:
  * lto-workaround.patch

OBS-URL: https://build.opensuse.org/request/show/715705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qt3d?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2019-07-18 13:20:18 +00:00 committed by Git OBS Bridge
commit fc85734859
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jul 12 13:21:22 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Drop lto-workaround.patch in favor of just disabling LTO
-------------------------------------------------------------------
Fri Jul 12 11:42:02 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to fix build with LTO enabled:
* lto-workaround.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 19 11:18:55 UTC 2019 - fabian@ritter-vogt.de Wed Jun 19 11:18:55 UTC 2019 - fabian@ritter-vogt.de

View File

@ -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. systems with support for 2D and 3D rendering in both Qt C++ and Qt Quick applications.
%prep %prep
%setup -q -n %{tar_version} %autosetup -p1 -n %{tar_version}
%package -n %libname %package -n %libname
Summary: Qt 5 3D Addon Summary: Qt 5 3D Addon
@ -413,6 +413,8 @@ the exact Qt version.
%postun -n libQt53DQuickExtras5 -p /sbin/ldconfig %postun -n libQt53DQuickExtras5 -p /sbin/ldconfig
%build %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 %if %qt5_snapshot
#force the configure script to generate the forwarding headers (it checks whether .git directory exists) #force the configure script to generate the forwarding headers (it checks whether .git directory exists)
mkdir .git mkdir .git