aboutsummaryrefslogtreecommitdiff
path: root/build2/config
diff options
context:
space:
mode:
Diffstat (limited to 'build2/config')
-rw-r--r--build2/config/module9
-rw-r--r--build2/config/module.cxx5
2 files changed, 11 insertions, 3 deletions
diff --git a/build2/config/module b/build2/config/module
index 6012442..912ab57 100644
--- a/build2/config/module
+++ b/build2/config/module
@@ -32,8 +32,13 @@ namespace build2
config_boot (scope&, const location&, unique_ptr<module_base>&);
extern "C" bool
- config_init (
- scope&, scope&, const location&, unique_ptr<module_base>&, bool, bool);
+ config_init (scope&,
+ scope&,
+ const location&,
+ unique_ptr<module_base>&,
+ bool,
+ bool,
+ const variable_map&);
}
}
diff --git a/build2/config/module.cxx b/build2/config/module.cxx
index 16eabe9..70301c5 100644
--- a/build2/config/module.cxx
+++ b/build2/config/module.cxx
@@ -59,7 +59,8 @@ namespace build2
const location& l,
unique_ptr<module_base>& mod,
bool first,
- bool)
+ bool,
+ const variable_map& config_hints)
{
tracer trace ("config::init");
@@ -71,6 +72,8 @@ namespace build2
l5 ([&]{trace << "for " << root.out_path ();});
+ assert (config_hints.empty ()); // We don't known any hints.
+
// Only create the module if we are configuring.
//
if (current_mif->id == configure_id)