summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-13 22:51:02 +0800
committerruki <[email protected]>2020-12-13 22:51:02 +0800
commit361eda0cd491f887acfb842567f498a553249ad7 (patch)
tree028ed53dd9741d85835f275fbc67b060b4e95118 /xmake/core/project/target.lua
parent0f7d4ef7bf2c3d9e04fc104defb50e8c7f6583f1 (diff)
fix load toolchain
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 257e1b93b..dab501131 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -1773,7 +1773,7 @@ function _instance:tool(toolkind)
for idx, toolchain_inst in ipairs(toolchains) do
program, toolname = toolchain_inst:tool(toolkind)
if program then
- toolchain_info = {name = toolchain_inst:name(), plat = toolchain_inst:plat(), arch = toolchain_inst:arch()}
+ toolchain_info = {name = toolchain_inst:name(), plat = toolchain_inst:plat(), arch = toolchain_inst:arch(), cachekey = toolchain_inst:cachekey()}
break
end
end