aboutsummaryrefslogtreecommitdiff
path: root/Mk/Scripts
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2018-05-10 23:00:15 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2018-05-10 23:00:15 +0000
commit9c31cc2ac7fcb697bda246b7620e03edc5fa1e03 (patch)
tree4df1d823fc388671bcfa675d51a7cb8c9418c6f0 /Mk/Scripts
parent3bd2b5f350eb218b84c831257ee3088ba09e2a12 (diff)
Notes
Diffstat (limited to 'Mk/Scripts')
-rw-r--r--Mk/Scripts/qa.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
index bf2b1fd6e715..9ef94484a728 100644
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -210,7 +210,7 @@ stripped() {
find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \
-exec readelf -S {} + 2>/dev/null | awk '\
/File:/ {sub(/File: /, "", $0); file=$0} \
- /SYMTAB/ {print file}' |
+ /[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' |
while read f; do
warn "'${f#${STAGEDIR}${PREFIX}/}' is not stripped consider trying INSTALL_TARGET=install-strip or using \${STRIP_CMD}"
done