forked from pool/libqt5-qt3d
46d69aa091
- Add patch to fix build with LTO enabled: * lto-workaround.patch OBS-URL: https://build.opensuse.org/request/show/714857 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.13/libqt5-qt3d?expand=0&rev=7
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From: Fabian Vogt <fabian@ritter-vogt.de>
|
|
Subject: resources_big is incompatible with -flto in CXXFLAGS
|
|
|
|
See https://bugreports.qt.io/browse/QTBUG-73834
|
|
|
|
Index: qt3d-everywhere-src-5.13.0/examples/qt3d/examples.pri
|
|
===================================================================
|
|
--- qt3d-everywhere-src-5.13.0.orig/examples/qt3d/examples.pri
|
|
+++ qt3d-everywhere-src-5.13.0/examples/qt3d/examples.pri
|
|
@@ -1,7 +1,6 @@
|
|
TEMPLATE = app
|
|
|
|
QT += 3dextras
|
|
-CONFIG += resources_big
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qt3d/$$TARGET
|
|
INSTALLS += target
|
|
Index: qt3d-everywhere-src-5.13.0/examples/qt3d/planets-qml/planets-qml.pro
|
|
===================================================================
|
|
--- qt3d-everywhere-src-5.13.0.orig/examples/qt3d/planets-qml/planets-qml.pro
|
|
+++ qt3d-everywhere-src-5.13.0/examples/qt3d/planets-qml/planets-qml.pro
|
|
@@ -8,7 +8,7 @@ QT += qml quick \
|
|
3dquick 3dquickrender 3dquickinput 3dquickextras \
|
|
network
|
|
|
|
-CONFIG += resources_big c++11
|
|
+CONFIG += c++11
|
|
|
|
HEADERS += \
|
|
networkcontroller.h
|