aboutsummarylogtreecommitdiffstats
path: root/qt5-fix-opengl-to-many-sections.patch
diff options
context:
space:
mode:
authorMartchus2016-09-06 22:40:44 +0200
committerMartchus2016-09-06 22:41:26 +0200
commit56c03b83801b48b03a2af469ae4e6d546976e1c3 (patch)
tree0a05062d625a701deaea68826f9a2b368d667181 /qt5-fix-opengl-to-many-sections.patch
downloadaur-56c03b83801b48b03a2af469ae4e6d546976e1c3.tar.gz
Provide mingw-w64-qt5-base-dynamic variant
Just tested whether it builds, but not whether it already functions as intended.
Diffstat (limited to 'qt5-fix-opengl-to-many-sections.patch')
-rw-r--r--qt5-fix-opengl-to-many-sections.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/qt5-fix-opengl-to-many-sections.patch b/qt5-fix-opengl-to-many-sections.patch
new file mode 100644
index 000000000000..f83fc54368c5
--- /dev/null
+++ b/qt5-fix-opengl-to-many-sections.patch
@@ -0,0 +1,10 @@
+--- src/gui/opengl/opengl.pri.orig 2014-12-05 09:24:35.000000000 -0700
++++ src/gui/opengl/opengl.pri 2015-02-09 10:48:48.484071754 -0700
+@@ -4,6 +4,7 @@
+ contains(QT_CONFIG, opengles2):CONFIG += opengles2
+
+ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
++ QMAKE_CXXFLAGS+="-Wa,-mbig-obj"
+
+ HEADERS += opengl/qopengl.h \
+ opengl/qopengl_p.h \