Gentoo applies this patch:
Qt Code:
  1. $ cat /usr/portage/x11-libs/qt-webkit/files/qt-webkit-4.8.1-no-use-ld-gold.patch
  2. diff -urN qt-everywhere-opensource-src-4.8.1.orig/src/3rdparty/webkit/Source/common.pri qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/common.pri
  3. --- qt-everywhere-opensource-src-4.8.1.orig/src/3rdparty/webkit/Source/common.pri 2012-04-28 12:39:16.884473572 +0200
  4. +++ qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/common.pri 2012-04-28 12:41:14.245006363 +0200
  5. @@ -3,13 +3,6 @@
  6. contains(JAVASCRIPTCORE_JIT,yes): DEFINES+=ENABLE_JIT=1
  7. contains(JAVASCRIPTCORE_JIT,no): DEFINES+=ENABLE_JIT=0
  8.  
  9. -linux-g++ {
  10. -isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) {
  11. - message(Using gold linker)
  12. - QMAKE_LFLAGS+=-fuse-ld=gold
  13. -}
  14. -}
  15. -
  16. # We use this flag on production branches
  17. # See https://bugs.webkit.org/show_bug.cgi?id=60824
  18. CONFIG += production
To copy to clipboard, switch view to plain text mode