kiss: Strip some extra sections from binaries

This commit is contained in:
Dylan Araps 2020-05-22 12:11:38 +03:00
parent a02ad08ba0
commit 99f4c99d78
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 4 additions and 1 deletions

5
kiss
View File

@ -438,7 +438,10 @@ pkg_strip() {
*) continue
esac
strip "--strip-$strip_opt" "$file" 2>/dev/null
strip "--strip-$strip_opt" \
--remove-section=.comment \
--remove-section=.note \
"$file" 2>/dev/null
done 2>/dev/null ||:
}