Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 09 May 2018 15:26:04
Message-Id: 1525879552.c8fada559c714086a91f6bcbd0c6f12b15b78213.mgorny@gentoo
1 commit: c8fada559c714086a91f6bcbd0c6f12b15b78213
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 9 15:23:57 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 9 15:25:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8fada55
7
8 scons-utils.eclass: Force pass-through of envvars (in 3.0.1-r1+)
9
10 Use GENTOO_SCONS_ENV_PASSTHROUGH variable introduced by scons-3.0.1-r1
11 patch to force passing through of all environment variables when
12 building ebuilds.
13
14 eclass/scons-utils.eclass | 3 +++
15 1 file changed, 3 insertions(+)
16
17 diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
18 index 02c9061ba95..4ffa92ae4a3 100644
19 --- a/eclass/scons-utils.eclass
20 +++ b/eclass/scons-utils.eclass
21 @@ -135,6 +135,9 @@ escons() {
22 _scons_clean_makeopts
23 fi
24
25 + # pass ebuild environment variables through!
26 + local -x GENTOO_SCONS_ENV_PASSTHROUGH=1
27 +
28 set -- scons ${SCONSOPTS} ${EXTRA_ESCONS} "${@}"
29 echo "${@}" >&2
30 "${@}"