diff options
author | Martchus | 2016-12-08 21:12:17 +0100 |
---|---|---|
committer | Martchus | 2016-12-08 21:12:17 +0100 |
commit | d6d9f6b4af59f7a80b1013c6710baf5dfabf67bf (patch) | |
tree | 8a0bb6262420ada7f78fd1a8fefe8b34fc0e42d8 /0007-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch | |
parent | 32d7004cff60350e0b0a9a7ddba7f4260ca5bf92 (diff) | |
download | aur-d6d9f6b4af59f7a80b1013c6710baf5dfabf67bf.tar.gz |
Fix misc issuss
Diffstat (limited to '0007-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch')
-rw-r--r-- | 0007-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/0007-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch b/0007-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch new file mode 100644 index 000000000000..2ee0771ba2a7 --- /dev/null +++ b/0007-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch @@ -0,0 +1,27 @@ +From 20e2f7b8353a9828ca2dc2d8d0d93357ddfefbc7 Mon Sep 17 00:00:00 2001 +From: Martchus <martchus@gmx.net> +Date: Sun, 18 Sep 2016 13:48:51 +0200 +Subject: [PATCH 07/26] 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 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri +index b13f258..8a9093f 100644 +--- a/src/gui/opengl/opengl.pri ++++ b/src/gui/opengl/opengl.pri +@@ -4,6 +4,7 @@ contains(QT_CONFIG, opengl):CONFIG += opengl + contains(QT_CONFIG, opengles2):CONFIG += opengles2 + + contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) { ++ mingw:QMAKE_CXXFLAGS+="-Wa,-mbig-obj" + + HEADERS += opengl/qopengl.h \ + opengl/qopengl_p.h \ +-- +2.10.2 + |