diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-09-06 21:23:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-09-06 21:23:17 +0000 |
commit | c113722b6e27bb74db705148fd71b8c82108d81e (patch) | |
tree | 97fc43744d0a1cd23a06ebeaa1231e115a18985d | |
parent | 16f0dfb679779a0ab852593c090a3fb83e5fdbd4 (diff) | |
download | portage-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
-rwxr-xr-x | bin/misc-functions.sh | 5 |
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' |