summaryrefslogtreecommitdiff
path: root/xmake/modules/private/cache/build_cache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-19 00:57:10 +0800
committerruki <[email protected]>2022-05-19 00:57:10 +0800
commit961f414fb459c02ba82ceff540296b52e3a965bd (patch)
tree61635f96a456daada00f5172822a8df47359eb27 /xmake/modules/private/cache/build_cache.lua
parente0e5d36e264fc580802c93e26103d604e61f6a00 (diff)
add hash.sha1
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
-rw-r--r--xmake/modules/private/cache/build_cache.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/cache/build_cache.lua b/xmake/modules/private/cache/build_cache.lua
index 0144317aa..440dfb9a2 100644
--- a/xmake/modules/private/cache/build_cache.lua
+++ b/xmake/modules/private/cache/build_cache.lua
@@ -49,7 +49,7 @@ function cachekey(program, cppfile, cppflags, envs)
table.insert(items, cppflag)
end
table.sort(items)
- table.insert(items, hash.sha256(cppfile))
+ table.insert(items, hash.sha1(cppfile))
if envs then
local basename = path.basename(program)
if basename == "cl" then