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

commit c66d1598e352038bdf9664b846223d37009750c0
Author: crazy <cr...@frugalware.org>
Date:   Sun Oct 16 19:20:26 2016 +0200

Revert "makepkg - change strip_pkg"
This reverts commit 35fe5086859a8628a81dbc4611e3477aacc2bc29.
* doing this different now , no need to take care of 32bit anymore

diff --git a/scripts/makepkg b/scripts/makepkg
index 91852f2..c529358 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -586,30 +586,14 @@ strip_pkg()
subpkg="subpackage "
fi
if [ ! "`check_option NOSTRIP`" -a "$NOSTRIP" = "0" ]; then
-               msg "Stripping symbols from libraries from $subpkg$1..."
+               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 -s '{}' \; 2>&1 \
+                       -exec /usr/bin/strip --strip-debug '{}' \; 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 -s '{}' \; 2>&1 \
+                       -exec /usr/bin/strip '{}' \; 2>&1 \
| grep -v "No such file" | grep -v "format not recognized"
-
-               if [ "$CARCH" == "x86_64" ]; then
-                       ##until we remove 3bit ..
-                       if [ -d $dir/usr/lib32 ]; then
-                               msg "Stripping symbols from 32bit libraries 
from $subpkg$1..."
-                               find $dir/usr/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"
-                       fi
-                       if [ -d $dir/usr/i686-frugalware-linux ]; then
-                               msg "Stripping symbols from 32bit binaries from 
$subpkg$p..."
-                               find $dir/usr/i686-frugalware-linux/{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
-               fi
fi
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to