summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 7ca5ece18..ed086fb74 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -4868,6 +4868,15 @@ def action_build(settings, trees, mtimedb,
if myopt not in myresumeopts:
myresumeopts[myopt] = myarg
myopts=myresumeopts
+
+ # Adjust config according to options of the command being resumed.
+ for myroot in trees:
+ mysettings = trees[myroot]["vartree"].settings
+ mysettings.unlock()
+ adjust_config(myopts, mysettings)
+ mysettings.lock()
+ del myroot, mysettings
+
myparams = create_depgraph_params(myopts, myaction)
if "--quiet" not in myopts and "--nodeps" not in myopts:
print "Calculating dependencies ",