Index: tools/gn/function_toolchain.cc |
diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc |
index 933d55e9beed316fae019222a3db3702a97567dc..dde0306fb14cdc91922c1e534c010e5c47b7400b 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); |