aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-04-13 04:49:52 +0800
committerantoine <antoine@FreeBSD.org>2014-04-13 04:49:52 +0800
commit9d2c8f132fa9fe4ee0addebedf6e85fcdcbff943 (patch)
tree4732fc63949bd28a63c34c9ade8797ff0b8a1a8c /Mk
parentc90101817d872cb08099b61af9c2f1a2820f4813 (diff)
downloadfreebsd-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.sh4
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
}