瀏覽代碼

reduce overlinking

Jan Alexander Steffens 12 年之前
父節點
當前提交
e766b20427
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      PKGBUILD

+ 5 - 1
PKGBUILD

@@ -3,7 +3,7 @@
 
 pkgname=gnome-shell
 pkgver=3.8.2
-pkgrel=3
+pkgrel=4
 pkgdesc="The next generation GNOME Shell"
 arch=(i686 x86_64)
 url="http://live.gnome.org/GnomeShell"
@@ -39,6 +39,10 @@ build() {
       --libexecdir=/usr/lib/gnome-shell \
       --localstatedir=/var --disable-static \
       --disable-schemas-compile
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }