diff options
| author | ruki <[email protected]> | 2020-06-20 19:14:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-20 19:14:20 +0800 |
| commit | 8a4d7349f8562a3cf5869dfa4a6460c049f44f3b (patch) | |
| tree | b508e7659b0c6be16fbafeb9481df9751a60992f /xmake/core/tool/tool.lua | |
| parent | 966b8dd7a01b09a93ba21ee4d2df0d471ab2282c (diff) | |
fix check options
Diffstat (limited to 'xmake/core/tool/tool.lua')
| -rw-r--r-- | xmake/core/tool/tool.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua index 44df48bb0..144ea0d61 100644 --- a/xmake/core/tool/tool.lua +++ b/xmake/core/tool/tool.lua @@ -239,7 +239,7 @@ function tool.load(kind, opt) -- load toolchain instance local toolchain_inst if toolchain_info and toolchain_info.name then - toolchain_inst = toolchain.load(toolchain_info.name, plat, arch) + toolchain_inst = toolchain.load(toolchain_info.name, {plat = plat, arch = arch}) end -- new an instance |
