From 759e714238438cccf74f035e1ba11c925b27cd55 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Jan 2018 16:04:39 +0200 Subject: Load config.build in init(), not boot() We now make sure the config module is init'ed first. --- build2/dist/init.cxx | 4 +++- build2/dist/init.hxx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'build2/dist') diff --git a/build2/dist/init.cxx b/build2/dist/init.cxx index 33ddcd7..818570a 100644 --- a/build2/dist/init.cxx +++ b/build2/dist/init.cxx @@ -23,7 +23,7 @@ namespace build2 { static const rule rule_; - void + bool boot (scope& rs, const location&, unique_ptr& mod) { tracer trace ("dist::boot"); @@ -64,6 +64,8 @@ namespace build2 // Create the module. // mod.reset (new module (v_d_p)); + + return false; } bool diff --git a/build2/dist/init.hxx b/build2/dist/init.hxx index 45d47df..f1d2bc5 100644 --- a/build2/dist/init.hxx +++ b/build2/dist/init.hxx @@ -14,7 +14,7 @@ namespace build2 { namespace dist { - void + bool boot (scope&, const location&, unique_ptr&); bool -- cgit v1.1