Unconditionally strip all ELF binaries

This commit is contained in:
Tom G. Christensen 2009-08-12 08:53:15 +00:00
parent 7664df5bbe
commit 549445fa32

View File

@ -607,7 +607,7 @@ do_strip_bin()
echo "Stripping ELF binaries..." echo "Stripping ELF binaries..."
for f in `${__find} . -type f \( -perm -0100 -o -perm -0010 -o -perm -0001 \) -exec ${__file} {} \; | \ for f in `${__find} . -type f \( -perm -0100 -o -perm -0010 -o -perm -0001 \) -exec ${__file} {} \; | \
${__grep} -v ' dynamic lib ' | \ ${__grep} -v ' dynamic lib ' | \
${__sed} -n -e 's/^\(.*\):[ ]*ELF.*\(not stripped\).*/\1/p'`; do ${__sed} -n -e 's/^\(.*\):[ ]*ELF.*/\1/p'`; do
echo "strip_bin: $f" echo "strip_bin: $f"
${__strip} $strip_elf_args $f || : ${__strip} $strip_elf_args $f || :
done done