aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-06-08 13:59:13 +0800
committerantoine <antoine@FreeBSD.org>2015-06-08 13:59:13 +0800
commit3e2eb1877c141b034d9ba3113b86c9260793f570 (patch)
tree6222d08cad20cc04a280a9ae4718b7060765e092 /Mk/Uses
parentd936229c8e499866fafbdcf4163cf7bad6b879d6 (diff)
downloadfreebsd-ports-gnome-3e2eb1877c141b034d9ba3113b86c9260793f570.tar.gz
freebsd-ports-gnome-3e2eb1877c141b034d9ba3113b86c9260793f570.tar.zst
freebsd-ports-gnome-3e2eb1877c141b034d9ba3113b86c9260793f570.zip
Make ports using libtool treat elftoolchain's strip the same as GNU strip
Any strip on any FreeBSD version should be able to handle stripping requested by libtool PR: 198611 Reviewed by: emaste Exp-run: self
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/libtool.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/Uses/libtool.mk b/Mk/Uses/libtool.mk
index d90126bdf45e..d9db2c28b113 100644
--- a/Mk/Uses/libtool.mk
+++ b/Mk/Uses/libtool.mk
@@ -33,6 +33,7 @@ patch-libtool:
-e '/gcc_ver=\\`/s/gcc /$$CC /' \
-e '/link_all_deplibs[0-9A-Z_]*=/s/=unknown/=no/' \
-e '/objformat=/s/echo aout/echo elf/' \
+ -e '/STRIP -V/s/"GNU strip"/"strip"/' \
-e "/freebsd-elf\\*)/,/;;/ { \
/deplibs_check_method=/s/=.*/=pass_all/; \
/library_names_spec=.*\\.so/ \