diff options
Diffstat (limited to 'build2/bin')
-rw-r--r-- | build2/bin/module | 9 | ||||
-rw-r--r-- | build2/bin/module.cxx | 5 |
2 files changed, 11 insertions, 3 deletions
diff --git a/build2/bin/module b/build2/bin/module index 44dfbc7..0b9d44e 100644 --- a/build2/bin/module +++ b/build2/bin/module @@ -15,8 +15,13 @@ namespace build2 namespace bin { extern "C" bool - bin_init ( - scope&, scope&, const location&, unique_ptr<module_base>&, bool, bool); + bin_init (scope&, + scope&, + const location&, + unique_ptr<module_base>&, + bool, + bool, + const variable_map&); } } diff --git a/build2/bin/module.cxx b/build2/bin/module.cxx index 1ab29f9..d5df054 100644 --- a/build2/bin/module.cxx +++ b/build2/bin/module.cxx @@ -36,11 +36,14 @@ namespace build2 const location&, unique_ptr<module_base>&, bool first, - bool) + bool, + const variable_map& config_hints) { tracer trace ("bin::init"); l5 ([&]{trace << "for " << b.out_path ();}); + assert (config_hints.empty ()); // We don't known any hints. + // Enter module variables. // if (first) |