aboutsummaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-22 10:21:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-09-22 10:21:37 +0200
commit9f72ad00a0654bc965ff527615e02fd35596073c (patch)
tree754339aab8037bb5f37ff94a1db1ab1a6071d542 /build2
parent017de65ccc23a6764f65fd77ded139c69b03c09f (diff)
Add note about non-global variable overrides
Diffstat (limited to 'build2')
-rw-r--r--build2/b.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 449f1e1..b7e6708 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -1533,6 +1533,11 @@ main (int argc, char* argv[])
// Enter project-wide (as opposed to global) variable overrides.
//
+ // And, yes, this means non-global overrides are not visible during
+ // bootstrap. If you are wondering why, it's because the project
+ // boundaries (specifically, amalgamation) are only known after
+ // bootstrap.
+ //
// The mildly tricky part here is to distinguish the situation where
// we are bootstrapping the same project multiple times. The first
// override that we set cannot already exist (because the override