diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-06-17 10:04:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-06-17 10:04:28 +0200 |
commit | 2f29c7fbe758ffb53e4de9983df8b1cc927dad05 (patch) | |
tree | 682cb0b312b97c4fd037a04adb406086de6fd161 /libbuild2/file.cxx | |
parent | 0478cfe438ca728690fb93bafe43fbe8e2b006b4 (diff) |
Add ability to ignore subprojects in create_bootstrap_outer()
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r-- | libbuild2/file.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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<dir_path> (), 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); |