2024-03-15 22:47:25 +01:00
|
|
|
From d3cb4d3b96c01f151e15dc1017f2687f7d8102c3 Mon Sep 17 00:00:00 2001
|
2016-09-19 22:18:45 +02:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 18 Sep 2016 13:48:51 +0200
|
2022-09-09 19:02:45 +02:00
|
|
|
Subject: [PATCH 03/32] Fix too many sections assemler error in OpenGL factory
|
2016-09-19 22:18:45 +02:00
|
|
|
|
|
|
|
On x86_64 qopenglversionfunctionsfactory.o exceeds the
|
|
|
|
limit of 32768 sections.
|
|
|
|
Hence the assembler option -mbig-obj is required.
|
|
|
|
---
|
2017-01-23 21:37:13 +01:00
|
|
|
src/gui/opengl/opengl.pri | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
2016-09-19 22:18:45 +02:00
|
|
|
|
|
|
|
diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri
|
2024-03-15 22:47:25 +01:00
|
|
|
index 24758afdeb3..aa04b4a672e 100644
|
2016-09-19 22:18:45 +02:00
|
|
|
--- a/src/gui/opengl/opengl.pri
|
|
|
|
+++ b/src/gui/opengl/opengl.pri
|
2017-01-23 21:37:13 +01:00
|
|
|
@@ -3,7 +3,8 @@
|
|
|
|
qtConfig(opengl): CONFIG += opengl
|
|
|
|
qtConfig(opengles2): CONFIG += opengles2
|
2016-09-19 22:18:45 +02:00
|
|
|
|
2017-01-23 21:37:13 +01:00
|
|
|
-qtConfig(opengl) {
|
|
|
|
+qtConfig(opengl)|qtConfig(opengles2) {
|
2016-09-19 22:18:45 +02:00
|
|
|
+ mingw:QMAKE_CXXFLAGS+="-Wa,-mbig-obj"
|
|
|
|
|
|
|
|
HEADERS += opengl/qopengl.h \
|
|
|
|
opengl/qopengl_p.h \
|
|
|
|
--
|
2024-03-15 22:47:25 +01:00
|
|
|
2.44.0
|
2016-09-19 22:18:45 +02:00
|
|
|
|