summaryrefslogtreecommitdiffstats
path: root/tools/gn/function_toolchain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gn/function_toolchain.cc')
-rw-r--r--tools/gn/function_toolchain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc
index 933d55e..dde0306 100644
--- a/tools/gn/function_toolchain.cc
+++ b/tools/gn/function_toolchain.cc
@@ -102,7 +102,7 @@ Value RunToolchain(Scope* scope,
// This object will actually be copied into the one owned by the toolchain
// manager, but that has to be done in the lock.
- Toolchain toolchain(label);
+ Toolchain toolchain(scope->settings(), label);
Scope block_scope(scope);
block_scope.SetProperty(&kToolchainPropertyKey, &toolchain);