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

Jan Steffens heftig at archlinux.org
Sun Feb 14 19:05:31 UTC 2016


    Date: Sunday, February 14, 2016 @ 20:05:30
  Author: heftig
Revision: 259306

Reduce overlinking

Modified:
  eog/trunk/PKGBUILD

----------+
 PKGBUILD |    1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-14 19:03:11 UTC (rev 259305)
+++ PKGBUILD	2016-02-14 19:05:30 UTC (rev 259306)
@@ -21,6 +21,7 @@
   cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var
+  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