Date: Sunday, October 16, 2022 @ 12:20:17
  Author: dvzrv
Revision: 458248

Modify libtool to prevent excessive overlinking.

Modified:
  shadow/trunk/PKGBUILD

----------+
 PKGBUILD |    2 ++
 1 file changed, 2 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-16 11:39:19 UTC (rev 458247)
+++ PKGBUILD    2022-10-16 12:20:17 UTC (rev 458248)
@@ -79,6 +79,8 @@
     --without-selinux \
     --without-su
 
+  # prevent excessive overlinking due to libtool
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 

Reply via email to