aboutsummarylogtreecommitdiffstats
path: root/0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch
diff options
context:
space:
mode:
authorMartchus2019-06-26 14:41:36 +0200
committerMartchus2019-06-26 14:41:36 +0200
commitf817cbcc8c47496a5967fa06c162cddfa98f386a (patch)
tree62a3008a3b3ebe67f5007c5f46ed48b85ea5c383 /0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch
parent7cd2ce36c60bf5e1ad40f9af6ef97c9c539d345c (diff)
downloadaur-f817cbcc8c47496a5967fa06c162cddfa98f386a.tar.gz
Update to 5.13.0
Diffstat (limited to '0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch')
-rw-r--r--0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch b/0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch
new file mode 100644
index 000000000000..5109261fac71
--- /dev/null
+++ b/0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch
@@ -0,0 +1,29 @@
+From abcf04e70f4f3e8a0a7a584afcf976e209307265 Mon Sep 17 00:00:00 2001
+From: Martchus <martchus@gmx.net>
+Date: Sun, 18 Sep 2016 13:48:51 +0200
+Subject: [PATCH 03/33] Fix too many sections assemler error in OpenGL factory
+
+On x86_64 qopenglversionfunctionsfactory.o exceeds the
+limit of 32768 sections.
+Hence the assembler option -mbig-obj is required.
+---
+ src/gui/opengl/opengl.pri | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri
+index 24758afdeb..aa04b4a672 100644
+--- a/src/gui/opengl/opengl.pri
++++ b/src/gui/opengl/opengl.pri
+@@ -3,7 +3,8 @@
+ qtConfig(opengl): CONFIG += opengl
+ qtConfig(opengles2): CONFIG += opengles2
+
+-qtConfig(opengl) {
++qtConfig(opengl)|qtConfig(opengles2) {
++ mingw:QMAKE_CXXFLAGS+="-Wa,-mbig-obj"
+
+ HEADERS += opengl/qopengl.h \
+ opengl/qopengl_p.h \
+--
+2.22.0
+