svn commit: r404488 - head/Mk/Scripts
Antoine Brodin
antoine at FreeBSD.org
Fri Dec 25 23:22:48 UTC 2015
Author: antoine
Date: Fri Dec 25 23:22:47 2015
New Revision: 404488
URL: https://svnweb.freebsd.org/changeset/ports/404488
Log:
Do not advise to strip object files, it can be harmful
Reported by: koobs
With hat: portmgr
Modified:
head/Mk/Scripts/qa.sh
Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh Fri Dec 25 23:19:40 2015 (r404487)
+++ head/Mk/Scripts/qa.sh Fri Dec 25 23:22:47 2015 (r404488)
@@ -174,7 +174,7 @@ stripped() {
# Split file and result into 2 lines and read separately to ensure
# files with spaces are kept intact.
# Using readelf -h ... /ELF Header:/ will match on all ELF files.
- find ${STAGEDIR} -type f ! -name '*.a' \
+ find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \
-exec readelf -S {} + 2>/dev/null | awk '\
/File:/ {sub(/File: /, "", $0); file=$0} \
/SYMTAB/ {print file}' |
More information about the svn-ports-all
mailing list