From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-919127-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EC012139086
	for <garchives@archives.gentoo.org>; Sat, 24 Dec 2016 09:07:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F007CE0D07;
	Sat, 24 Dec 2016 09:07:45 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BC010E0D07
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2016 09:07:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0AC653411D7
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2016 09:07:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E77F624E6
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2016 09:07:41 +0000 (UTC)
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org>
Message-ID: <1482570445.2201dbb7de7aaf045761d78735a445cecca16f44.vapier@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/strace/strace-4.13.ebuild dev-util/strace/strace-4.14.ebuild dev-util/strace/strace-4.15.ebuild dev-util/strace/strace-9999.ebuild
X-VCS-Directories: dev-util/strace/
X-VCS-Committer: vapier
X-VCS-Committer-Name: Mike Frysinger
X-VCS-Revision: 2201dbb7de7aaf045761d78735a445cecca16f44
X-VCS-Branch: master
Date: Sat, 24 Dec 2016 09:07:41 +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
X-Archives-Salt: 88114845-4dd4-4004-be1c-90316934f8bc
X-Archives-Hash: e3a178f43ed9485dc0d9d67cff1f36ef

commit:     2201dbb7de7aaf045761d78735a445cecca16f44
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 08:49:05 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 09:07:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2201dbb7

dev-util/strace: set up default build settings #602192

 dev-util/strace/strace-4.13.ebuild | 10 +++++++++-
 dev-util/strace/strace-4.14.ebuild | 10 +++++++++-
 dev-util/strace/strace-4.15.ebuild | 10 +++++++++-
 dev-util/strace/strace-9999.ebuild | 10 +++++++++-
 4 files changed, 36 insertions(+), 4 deletions(-)

diff --git a/dev-util/strace/strace-4.13.ebuild b/dev-util/strace/strace-4.13.ebuild
index b0c7288..9804db5 100644
--- a/dev-util/strace/strace-4.13.ebuild
+++ b/dev-util/strace/strace-4.13.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# Set up the default build settings, and then use the naems strace expects.
+	tc-export_build_env BUILD_{CC,CPP}
+	local v bv
+	for v in CC CPP {C,CPP,LD}FLAGS ; do
+		bv="BUILD_${v}"
+		export "${v}_FOR_BUILD=${!bv}"
+	done
+
 	econf $(use_with unwind libunwind)
 }
 

diff --git a/dev-util/strace/strace-4.14.ebuild b/dev-util/strace/strace-4.14.ebuild
index 6c5ede4..df019fe 100644
--- a/dev-util/strace/strace-4.14.ebuild
+++ b/dev-util/strace/strace-4.14.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# Set up the default build settings, and then use the naems strace expects.
+	tc-export_build_env BUILD_{CC,CPP}
+	local v bv
+	for v in CC CPP {C,CPP,LD}FLAGS ; do
+		bv="BUILD_${v}"
+		export "${v}_FOR_BUILD=${!bv}"
+	done
+
 	econf $(use_with unwind libunwind)
 }
 

diff --git a/dev-util/strace/strace-4.15.ebuild b/dev-util/strace/strace-4.15.ebuild
index 6c5ede4..df019fe 100644
--- a/dev-util/strace/strace-4.15.ebuild
+++ b/dev-util/strace/strace-4.15.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# Set up the default build settings, and then use the naems strace expects.
+	tc-export_build_env BUILD_{CC,CPP}
+	local v bv
+	for v in CC CPP {C,CPP,LD}FLAGS ; do
+		bv="BUILD_${v}"
+		export "${v}_FOR_BUILD=${!bv}"
+	done
+
 	econf $(use_with unwind libunwind)
 }
 

diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild
index 6c5ede4..df019fe 100644
--- a/dev-util/strace/strace-9999.ebuild
+++ b/dev-util/strace/strace-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
 }
 
 src_configure() {
+	# Set up the default build settings, and then use the naems strace expects.
+	tc-export_build_env BUILD_{CC,CPP}
+	local v bv
+	for v in CC CPP {C,CPP,LD}FLAGS ; do
+		bv="BUILD_${v}"
+		export "${v}_FOR_BUILD=${!bv}"
+	done
+
 	econf $(use_with unwind libunwind)
 }