summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4-4.8.1/disable-fuse-gold-flag.patch
blob: 6efbaf5d97ec7ea620e5f3b4a465a6af124145bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Disable the -fuse-ld=gold flag. This option is a Debian/Ubuntu specific
extension to the g++ and causes upstream GCC to throw an error.

Upstream-Status: Pending

Signed-off-by: Ken Werner <ken.werner@linaro.org>

Index: qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/common.pri
===================================================================
--- qt-everywhere-opensource-src-4.8.0.orig/src/3rdparty/webkit/Source/common.pri
+++ qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/common.pri
@@ -3,12 +3,12 @@
 contains(JAVASCRIPTCORE_JIT,yes): DEFINES+=ENABLE_JIT=1
 contains(JAVASCRIPTCORE_JIT,no): DEFINES+=ENABLE_JIT=0
 
-linux-g++ {
-isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) {
-    message(Using gold linker)
-    QMAKE_LFLAGS+=-fuse-ld=gold
-}
-}
+#linux-g++ {
+#isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) {
+#    message(Using gold linker)
+#    QMAKE_LFLAGS+=-fuse-ld=gold
+#}
+#}
 
 # We use this flag on production branches
 # See https://bugs.webkit.org/show_bug.cgi?id=60824