Fix strip check to consider setuid binaries.
file(1) returns 'setuid' before the rest of the ELF output. With hat: portmgr Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
4067b975a7
commit
d200dc8283
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385021
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ stripped() {
|
|||
while read f; do
|
||||
read output
|
||||
case "${output}" in
|
||||
ELF\ *\ executable,\ *FreeBSD*,\ not\ stripped*|ELF\ *\ shared\ object,\ *FreeBSD*,\ not\ stripped*)
|
||||
*ELF\ *\ executable,\ *FreeBSD*,\ not\ stripped*|*ELF\ *\ shared\ object,\ *FreeBSD*,\ not\ stripped*)
|
||||
warn "'${f#${STAGEDIR}${PREFIX}/}' is not stripped consider trying INSTALL_TARGET=install-strip or using \${STRIP_CMD}"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue