projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2d926
)
scons-utils.eclass: Force pass-through of envvars (in 3.0.1-r1+)
author
Michał Górny
<mgorny@gentoo.org>
Wed, 9 May 2018 15:23:57 +0000
(17:23 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 9 May 2018 15:25:52 +0000
(17:25 +0200)
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
patch
|
blob
|
history
diff --git
a/eclass/scons-utils.eclass
b/eclass/scons-utils.eclass
index 02c9061ba95d09cb30b1cfdc6ed1c5b2075df321..4ffa92ae4a354c9c4d4b9930ceea04c53ddcf5ff 100644
(file)
--- 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
"${@}"