projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de0c03e
)
scons-utils.eclass: _scons_clean_makeopts, stop exporting cache vars
author
Michał Górny
<mgorny@gentoo.org>
Fri, 1 Jan 2016 12:57:21 +0000
(13:57 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Fri, 8 Jan 2016 05:14:36 +0000
(06:14 +0100)
Cache vars need only to be global to be preserved across calls.
Exporting them is undesired.
eclass/scons-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/scons-utils.eclass
b/eclass/scons-utils.eclass
index 4da2c4ac7a5c92b3b8fbc0584c35c18dbc65d041..82e45e3c080e624835ad499b479c48ef43a8de88 100644
(file)
--- 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=${*}
}