commit: c8fada559c714086a91f6bcbd0c6f12b15b78213
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 9 15:23:57 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 9 15:25:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8fada55
scons-utils.eclass: Force pass-through of envvars (in 3.0.1-r1+)
Use GENTOO_SCONS_ENV_PASSTHROUGH variable introduced by scons-3.0.1-r1
patch to force passing through of all environment variables when
building ebuilds.
eclass/scons-utils.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
index 02c9061ba95..4ffa92ae4a3 100644
--- a/eclass/scons-utils.eclass
+++ b/eclass/scons-utils.eclass
@@ -135,6 +135,9 @@ escons() {
_scons_clean_makeopts
fi
+ # pass ebuild environment variables through!
+ local -x GENTOO_SCONS_ENV_PASSTHROUGH=1
+
set -- scons ${SCONSOPTS} ${EXTRA_ESCONS} "${@}"
echo "${@}" >&2
"${@}"