Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=842c74752066aff6d5ad6079c21498a52952d7d3

commit 842c74752066aff6d5ad6079c21498a52952d7d3
Author: crazy <cr...@frugalware.org>
Date:   Sun Oct 16 19:31:50 2016 +0200

makepkg - change strip_pkg
* use strip -s , added cross32 PATHs

diff --git a/scripts/makepkg b/scripts/makepkg
index c529358..94529e6 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -586,13 +586,13 @@ strip_pkg()
subpkg="subpackage "
fi
if [ ! "`check_option NOSTRIP`" -a "$NOSTRIP" = "0" ]; then
-               msg "Stripping debugging symbols from libraries from 
$subpkg$1..."
-               find $dir/{,usr,usr/local,opt/*}/lib -type f -not -name "*.dll" 
-not -name "*.exe" \
-                       -exec /usr/bin/strip --strip-debug '{}' \; 2>&1 \
+               msg "Stripping symbols from libraries from $subpkg$1..."
+               find $dir/{,usr,usr/local,opt/*}/{lib,lib32} -type f -not -name 
"*.dll" -not -name "*.exe" \
+                       -exec /usr/bin/strip -s '{}' \; 2>&1 \
| grep -v "No such file" | grep -v "format not recognized"
msg "Stripping symbols from binaries from $subpkg$p..."
-               find $dir/{,usr,usr/local,opt/*}/{bin,sbin} -type f -not -name 
"*.dll" -not -name "*.exe" \
-                       -exec /usr/bin/strip '{}' \; 2>&1 \
+               find 
$dir/{,usr,usr/local,usr/i686-frugalware-linux,opt/*}/{bin,sbin} -type f -not 
-name "*.dll" -not -name "*.exe" \
+                       -exec /usr/bin/strip -s '{}' \; 2>&1 \
| grep -v "No such file" | grep -v "format not recognized"
fi
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to