[arch-commits] Commit in gnome-desktop2/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Jan 24 20:45:12 UTC 2012


    Date: Tuesday, January 24, 2012 @ 15:45:11
  Author: heftig
Revision: 147229

libpng

Modified:
  gnome-desktop2/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-24 20:33:45 UTC (rev 147228)
+++ PKGBUILD	2012-01-24 20:45:11 UTC (rev 147229)
@@ -5,7 +5,7 @@
 _pkgname=gnome-desktop
 pkgname=${_pkgname}2
 pkgver=2.32.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Library with common API for various GNOME modules (legacy version)"
 arch=(i686 x86_64)
 license=(GPL LGPL)
@@ -23,6 +23,9 @@
       --with-gnome-distributor="Archlinux" \
       --disable-scrollkeeper \
       --disable-gnome-about --disable-desktop-docs
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
   make
 }
 




More information about the arch-commits mailing list