From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RdRyA-0007ia-70 for garchives@archives.gentoo.org; Wed, 21 Dec 2011 19:36:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92DCB21C1F5; Wed, 21 Dec 2011 19:36:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 60BFB21C1F5 for ; Wed, 21 Dec 2011 19:36:45 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB2CD1B402C for ; Wed, 21 Dec 2011 19:36:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 55ACA80042 for ; Wed, 21 Dec 2011 19:36:44 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/misc-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a192ba876959823534ebfbe2fcb7989a02f68810 Date: Wed, 21 Dec 2011 19:36:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5dfc0e7d-ea95-4f11-bcb8-abc4f6341d65 X-Archives-Hash: 56cc3ad829ec1494f9f6f48ce1804eb3 commit: a192ba876959823534ebfbe2fcb7989a02f68810 Author: Zac Medico gentoo org> AuthorDate: Wed Dec 21 19:36:31 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Dec 21 19:36:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Da192ba87 install_qa_check: more RESTRICT=3Dbinchecks --- bin/misc-functions.sh | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index b536a63..b6bd8ed 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -309,7 +309,8 @@ install_qa_check() { fi =20 # Check for files built without respecting CFLAGS - if [[ "${CFLAGS}" =3D=3D *-frecord-gcc-switches* ]] && [[ "${PN}" !=3D= *-bin ]] ; then + if [[ "${CFLAGS}" =3D=3D *-frecord-gcc-switches* ]] && \ + ! has binchecks ${RESTRICT} ; then qa_var=3D"QA_DT_SWITCHES_${ARCH/-/_}" eval "[[ -n \${!qa_var} ]] && QA_DT_SWITCHES=3D(\"\${${qa_var}[@]}\")= " f=3D$(scanelf -qyRF '%k %p' -k \!.GCC.command.line "${ED}" | sed -e "= s:\!.GCC.command.line ::") @@ -349,7 +350,8 @@ install_qa_check() { fi =20 # Check for files built without respecting LDFLAGS - if [[ "${LDFLAGS}" =3D=3D *,--hash-style=3Dgnu* ]] && [[ "${PN}" !=3D = *-bin ]] ; then + if [[ "${LDFLAGS}" =3D=3D *,--hash-style=3Dgnu* ]] && \ + ! has binchecks ${RESTRICT} ; then qa_var=3D"QA_DT_HASH_${ARCH/-/_}" eval "[[ -n \${!qa_var} ]] && QA_DT_HASH=3D(\"\${${qa_var}[@]}\")" f=3D$(scanelf -qyRF '%k %p' -k .hash "${ED}" | sed -e "s:\.hash ::")