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 <gentoo-commits+bounces-411269-garchives=archives.gentoo.org@lists.gentoo.org>)
	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 <gentoo-commits@lists.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; Wed, 21 Dec 2011 19:36:44 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <a192ba876959823534ebfbe2fcb7989a02f68810.zmedico@gentoo>
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: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
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 <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 19:36:31 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> 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 ::")