diff options
Diffstat (limited to 'build/file.cxx')
-rw-r--r-- | build/file.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/file.cxx b/build/file.cxx index 0dff025..b137c32 100644 --- a/build/file.cxx +++ b/build/file.cxx @@ -579,6 +579,11 @@ namespace build bootstrap_src (rs); create_bootstrap_outer (rs); + + // Check if we are strongly amalgamated by this outer root scope. + // + if (root.src_path ().sub (rs.src_path ())) + root.strong_ = rs.strong_scope (); // Itself or some outer scope. } scope& @@ -612,6 +617,11 @@ namespace build bootstrap_src (rs); + // Check if we strongly amalgamated this inner root scope. + // + if (rs.src_path ().sub (root.src_path ())) + rs.strong_ = root.strong_scope (); // Itself or some outer scope. + // See if there are more inner roots. // return create_bootstrap_inner (rs, out_base); |