aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 6921a97..b73a0d6 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -596,6 +596,11 @@ main (int argc, char* argv[])
}
}
+ // Expose eraly so can be used during bootstrap (with the same
+ // limitations as for pre-processing).
+ //
+ global_scope->rw ().assign (var_build_meta_operation) = mname;
+
for (auto oit (opspecs.begin ()); oit != opspecs.end (); ++oit)
{
opspec& os (*oit);