summaryrefslogtreecommitdiff
path: root/Mk/Scripts/qa.sh
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-04-12 20:49:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-04-12 20:49:52 +0000
commit0ade3b428bb32267a0fa67bf575012def6b1b53f (patch)
tree4732fc63949bd28a63c34c9ade8797ff0b8a1a8c /Mk/Scripts/qa.sh
parentReduce the number of false positives reported by the shebang qa check (diff)
Do not advise to strip ELF relocatables, usually it is harmful
With hat: portmgr
Notes
Notes: svn path=/head/; revision=351133
Diffstat (limited to 'Mk/Scripts/qa.sh')
-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
}