diff options
| author | ruki <[email protected]> | 2020-06-21 12:51:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-21 12:51:13 +0800 |
| commit | 08559a94893de4e5b0799f90f54c0009ef7eeb4d (patch) | |
| tree | eb004d2f7899b5abb188dff33cdb108b5e5873a5 /xmake/core/tool/tool.lua | |
| parent | 4dea5c6453ec77f7fad59047fe9541f0739dd713 (diff) | |
improve to load toolchains for each plat/arch
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 0a45c48c1..b8eb29ddd 100644 --- a/xmake/core/tool/tool.lua +++ b/xmake/core/tool/tool.lua @@ -193,7 +193,7 @@ function tool.load(kind, opt) -- get the tool program and name if not program then - program, toolname, toolchain_info = platform.tool(kind) + program, toolname, toolchain_info = platform.tool(kind, plat, arch) if toolchain_info then assert(toolchain_info.plat == plat) assert(toolchain_info.arch == arch) |
