Date: Fri, 25 Dec 2015 23:22:47 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404488 - head/Mk/Scripts Message-ID: <201512252322.tBPNMlG9082137@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}' |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512252322.tBPNMlG9082137>