Skip to content

Commit

Permalink
scons-utils.eclass: Force pass-through of envvars (in 3.0.1-r1+)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgorny committed May 9, 2018
1 parent ee2d926 commit c8fada5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eclass/scons-utils.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
"${@}"
Expand Down

0 comments on commit c8fada5

Please sign in to comment.