summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-21 14:52:01 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-21 14:52:01 +0000
commit4509eb3cd38a44c296e97bbf8174fcd2620fa9a8 (patch)
treefe34c1418860d514896ec874454807e1710c6108 /bin/misc-functions.sh
parent82f0c8c317c1d51a45589b708e476e7711a21da4 (diff)
downloadportage-4509eb3cd38a44c296e97bbf8174fcd2620fa9a8.tar.gz
portage-4509eb3cd38a44c296e97bbf8174fcd2620fa9a8.tar.bz2
portage-4509eb3cd38a44c296e97bbf8174fcd2620fa9a8.zip
Support QA_DT_HASH_${ARCH} and QA_PRESTRIPPED_${ARCH} (bug #271416).
svn path=/main/trunk/; revision=14114
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 6ed4a7a42..473bde00f 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -167,6 +167,8 @@ install_qa_check() {
# Check for files built without respecting LDFLAGS
if [[ "${LDFLAGS}" == *--hash-style=gnu* ]] && [[ "${PN}" != *-bin ]] ; then
+ qa_var="QA_DT_HASH_${ARCH/-/_}"
+ eval "[[ -n \${!qa_var} ]] && QA_DT_HASH=(\"\${${qa_var}[@]}\")"
f=$(scanelf -qyRF '%k %p' -k .hash "${D}" | sed -e "s:\.hash ::")
if [[ -n ${f} ]] ; then
echo "${f}" > "${T}"/scanelf-ignored-LDFLAGS.log