diff options
author | antoine <antoine@FreeBSD.org> | 2014-04-13 04:49:52 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-04-13 04:49:52 +0800 |
commit | 9d2c8f132fa9fe4ee0addebedf6e85fcdcbff943 (patch) | |
tree | 4732fc63949bd28a63c34c9ade8797ff0b8a1a8c /Mk | |
parent | c90101817d872cb08099b61af9c2f1a2820f4813 (diff) | |
download | freebsd-ports-gnome-9d2c8f132fa9fe4ee0addebedf6e85fcdcbff943.tar.gz freebsd-ports-gnome-9d2c8f132fa9fe4ee0addebedf6e85fcdcbff943.tar.zst freebsd-ports-gnome-9d2c8f132fa9fe4ee0addebedf6e85fcdcbff943.zip |
Do not advise to strip ELF relocatables, usually it is harmful
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/qa.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index ad3e91d38e09..3a708426f346 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -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 } |