commit: 1574851ef2a46cc6cccdeacbdbb9b14f21ca5c97
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 1 12:57:21 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 8 05:14:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1574851e
scons-utils.eclass: _scons_clean_makeopts, stop exporting cache vars
Cache vars need only to be global to be preserved across calls.
Exporting them is undesired.
eclass/scons-utils.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
index 4da2c4a..82e45e3 100644
--- a/eclass/scons-utils.eclass
+++ b/eclass/scons-utils.eclass
@@ -177,7 +177,7 @@ _scons_clean_makeopts() {
debug-print "Cache hit: [${SCONSOPTS}]"
return
fi
- export _SCONS_CACHE_MAKEOPTS=${*}
+ _SCONS_CACHE_MAKEOPTS=${*}
while [[ ${#} -gt 0 ]]; do
case ${1} in
@@ -236,7 +236,7 @@ _scons_clean_makeopts() {
done
set -- ${new_makeopts}
- export _SCONS_CACHE_SCONSOPTS=${*}
+ _SCONS_CACHE_SCONSOPTS=${*}
debug-print "New SCONSOPTS: [${*}]"
SCONSOPTS=${*}
}