diff options
Diffstat (limited to 'build2/dist')
-rw-r--r-- | build2/dist/module | 9 | ||||
-rw-r--r-- | build2/dist/module.cxx | 5 |
2 files changed, 11 insertions, 3 deletions
diff --git a/build2/dist/module b/build2/dist/module index 61e44c3..984a969 100644 --- a/build2/dist/module +++ b/build2/dist/module @@ -18,8 +18,13 @@ namespace build2 dist_boot (scope&, const location&, unique_ptr<module_base>&); extern "C" bool - dist_init ( - scope&, scope&, const location&, unique_ptr<module_base>&, bool, bool); + dist_init (scope&, + scope&, + const location&, + unique_ptr<module_base>&, + bool, + bool, + const variable_map&); } } diff --git a/build2/dist/module.cxx b/build2/dist/module.cxx index 5ae05a4..58bfc6f 100644 --- a/build2/dist/module.cxx +++ b/build2/dist/module.cxx @@ -60,7 +60,8 @@ namespace build2 const location& l, unique_ptr<module_base>&, bool first, - bool) + bool, + const variable_map& config_hints) { tracer trace ("dist::init"); @@ -73,6 +74,8 @@ namespace build2 const dir_path& out_root (r.out_path ()); l5 ([&]{trace << "for " << out_root;}); + assert (config_hints.empty ()); // We don't known any hints. + // Register our wildcard rule. Do it explicitly for the alias // to prevent something like insert<target>(dist_id, test_id) // taking precedence. |