aboutsummaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-07-02 13:59:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-07-02 13:59:06 +0200
commite037a2efc94fc563f86cfc126cba2d3ba67265eb (patch)
tree8649a111945495e3849a185052a5a9d1ac25f398 /build2
parent9b367b1cf3c2e2f53ca6622e6600ab135b1691fa (diff)
Minor improvements
Diffstat (limited to 'build2')
-rw-r--r--build2/b.cxx4
-rw-r--r--build2/cc/windows-rpath.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 32d42aa..5ea4f02 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -1341,7 +1341,11 @@ main (int argc, char* argv[])
trace << " src_root: " << src_root;
trace << " forwarded: " << (forwarded ? "true" : "false");
if (auto l = rs.vars[var_amalgamation])
+ {
trace << " amalgamation: " << cast<dir_path> (l);
+ trace << " strong scope: " << *rs.strong_scope ();
+ trace << " weak scope: " << *rs.weak_scope ();
+ }
}
// Enter project-wide (as opposed to global) variable overrides.
diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx
index d18e36d..5b49033 100644
--- a/build2/cc/windows-rpath.cxx
+++ b/build2/cc/windows-rpath.cxx
@@ -293,7 +293,7 @@ namespace build2
// Symlink or copy the DLLs.
//
{
- const scope& as (*t.root_scope ().weak_scope ()); // Amalgamation.
+ const scope& as (t.weak_scope ()); // Amalgamation.
auto link = [&as, &ad] (const path& f, const path& l)
{