summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-09-06 21:23:17 +0000
committerZac Medico <zmedico@gentoo.org>2008-09-06 21:23:17 +0000
commitc113722b6e27bb74db705148fd71b8c82108d81e (patch)
tree97fc43744d0a1cd23a06ebeaa1231e115a18985d /bin
parent16f0dfb679779a0ab852593c090a3fb83e5fdbd4 (diff)
downloadportage-c113722b6e27bb74db705148fd71b8c82108d81e.tar.gz
portage-c113722b6e27bb74db705148fd71b8c82108d81e.tar.bz2
portage-c113722b6e27bb74db705148fd71b8c82108d81e.zip
In the ignored LDFLAGS check, filter out anything under /usr/lib/debug/ in
order to avoid duplicate warnings for splitdebug files. Thanks to Cardoe for the suggestion. svn path=/main/trunk/; revision=11497
Diffstat (limited to 'bin')
-rwxr-xr-xbin/misc-functions.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 12e8b7e0b..1a0af4490 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -179,7 +179,10 @@ install_qa_check() {
set -${shopts}
fi
fi
- sed -e "/^\$/d" -e "s#^#/#" -i "${T}"/scanelf-ignored-LDFLAGS.log
+ # Filter anything under /usr/lib/debug/ in order to avoid
+ # duplicate warnings for splitdebug files.
+ sed -e "s#^usr/lib/debug/.*##" -e "/^\$/d" -e "s#^#/#" \
+ -i "${T}"/scanelf-ignored-LDFLAGS.log
f=$(<"${T}"/scanelf-ignored-LDFLAGS.log)
if [[ -n ${f} ]] ; then
vecho -ne '\a\n'