Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=e73d6756a91b2acc22a2953c37d8405b92459903
commit e73d6756a91b2acc22a2953c37d8405b92459903 Author: crazy <[email protected]> Date: Sat Oct 22 05:36:45 2016 +0200 strip_pkg * don't f***** touch *.a and *.o files! diff --git a/scripts/makepkg b/scripts/makepkg index 94529e6..e248765 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -587,11 +587,11 @@ strip_pkg() fi if [ ! "`check_option NOSTRIP`" -a "$NOSTRIP" = "0" ]; then msg "Stripping symbols from libraries from $subpkg$1..." - find $dir/{,usr,usr/local,opt/*}/{lib,lib32} -type f -not -name "*.dll" -not -name "*.exe" \ + find $dir/{,usr,usr/local,opt/*}/{lib,lib32} -type f -not -name "*.dll" -not -name "*.exe" -not -name "*.a" -not -name "*.o" \ -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,usr/i686-frugalware-linux,opt/*}/{bin,sbin} -type f -not -name "*.dll" -not -name "*.exe" \ + find $dir/{,usr,usr/local,usr/i686-frugalware-linux,opt/*}/{bin,sbin} -type f -not -name "*.dll" -not -name "*.exe" -not -name "*.a" -not -name "*.o" \ -exec /usr/bin/strip -s '{}' \; 2>&1 \ | grep -v "No such file" | grep -v "format not recognized" fi _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
