diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-27 14:43:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-27 14:43:37 +0200 |
commit | be34c36f7b9ab7d2fd0d3a7bc2a0f5f62ff4fe67 (patch) | |
tree | dacfb8ea94a3bd1850c80bec3469b657dddbf9f0 /libbuild2/module.cxx | |
parent | bdcca31f9174b342a9e125206df4c4bd11b2dda5 (diff) |
Propagate global var overrides to module build context
Diffstat (limited to 'libbuild2/module.cxx')
-rw-r--r-- | libbuild2/module.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx index 63ff24c..9f951c3 100644 --- a/libbuild2/module.cxx +++ b/libbuild2/module.cxx @@ -146,16 +146,16 @@ namespace build2 assert (*ctx.module_context_storage == nullptr); - // Since we are using the same scheduler, it makes sense to reuse - // the same mutex shards. Also disable nested module context for - // good measure. + // Since we are using the same scheduler, it makes sense to reuse the + // same mutex shards. Also disable nested module context for good + // measure. // ctx.module_context_storage->reset ( new context (ctx.sched, - false, /* dry_run */ + false, /* dry_run */ ctx.keep_going, - {}, /* cmd_vars */ - nullopt)); /* module_context */ + ctx.global_var_overrides, /* cmd_vars */ + nullopt)); /* module_context */ // We use the same context for building any nested modules that // might be required while building modules. |