From: Michał Górny Date: Wed, 9 May 2018 15:23:57 +0000 (+0200) Subject: scons-utils.eclass: Force pass-through of envvars (in 3.0.1-r1+) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8fada559c714086a91f6bcbd0c6f12b15b78213;p=gentoo.git 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. --- diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass index 02c9061ba95d..4ffa92ae4a35 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 "${@}"