1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Do not advise to strip ELF relocatables, usually it is harmful

With hat:	portmgr
This commit is contained in:
Antoine Brodin 2014-04-12 20:49:52 +00:00
parent 32d4470be8
commit 0ade3b428b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351133

View File

@ -123,7 +123,9 @@ stripped() {
find ${STAGEDIR} -type f -exec /usr/bin/file -nNF '' {} + | while
read f output; do
case "${output}" in
ELF\ *,\ not\ stripped*) warn "${f} is not stripped consider using \${STRIP_CMD}" ;;
ELF\ *\ executable,\ *,\ not\ stripped*|ELF\ *\ shared\ object,\ *,\ not\ stripped*)
warn "${f} is not stripped consider using \${STRIP_CMD}"
;;
esac
done
}