diff options
| author | ruki <[email protected]> | 2020-12-22 00:48:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-22 00:48:39 +0800 |
| commit | a0b13369ce0d586993f09a072aadd20690bb9b92 (patch) | |
| tree | b2f09c2c10b61fd04a9abd96abae6ccac63af5f9 | |
| parent | 4782a9648e20c0e6a4620f7255ab3cb476dceb5e (diff) | |
improve toolchain cache
| -rw-r--r-- | xmake/core/tool/toolchain.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua index 053209fd6..872d63512 100644 --- a/xmake/core/tool/toolchain.lua +++ b/xmake/core/tool/toolchain.lua @@ -419,7 +419,7 @@ end function toolchain._cachekey(name, opt) local cachekey = opt.cachekey if not cachekey then - cachekey = "toolchain_" .. name + cachekey = name for _, k in ipairs(table.orderkeys(opt)) do local v = opt[k] cachekey = cachekey .. "_" .. k .. "_" .. tostring(v) |
