From c8fada559c714086a91f6bcbd0c6f12b15b78213 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 9 May 2018 17:23:57 +0200 Subject: [PATCH] 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 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 "${@}" -- 2.26.2