SHA256
1
0
forked from pool/libqt5-qt3d
libqt5-qt3d/lto-workaround.patch
2019-07-12 12:09:08 +00:00

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