From 2f29c7fbe758ffb53e4de9983df8b1cc927dad05 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Jun 2022 10:04:28 +0200 Subject: Add ability to ignore subprojects in create_bootstrap_outer() --- libbuild2/file.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/file.cxx') diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx index d3de787..03f6ccd 100644 --- a/libbuild2/file.cxx +++ b/libbuild2/file.cxx @@ -1360,7 +1360,7 @@ namespace build2 } void - create_bootstrap_outer (scope& root) + create_bootstrap_outer (scope& root, bool subp) { context& ctx (root.ctx); @@ -1408,7 +1408,7 @@ namespace build2 setup_root (rs, forwarded (root, out_root, v.as (), altn)); bootstrap_pre (rs, altn); - bootstrap_src (rs, altn); + bootstrap_src (rs, altn, nullopt, subp); // bootstrap_post() delayed until after create_bootstrap_outer(). } else @@ -1419,7 +1419,7 @@ namespace build2 rs.assign (ctx.var_forwarded) = true; // Only upgrade (see main()). } - create_bootstrap_outer (rs); + create_bootstrap_outer (rs, subp); if (!bstrapped) bootstrap_post (rs); -- cgit v1.1