diff options
| author | ruki <[email protected]> | 2022-05-19 00:57:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-19 00:57:10 +0800 |
| commit | 961f414fb459c02ba82ceff540296b52e3a965bd (patch) | |
| tree | 61635f96a456daada00f5172822a8df47359eb27 /xmake/modules/private/cache/build_cache.lua | |
| parent | e0e5d36e264fc580802c93e26103d604e61f6a00 (diff) | |
add hash.sha1
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
| -rw-r--r-- | xmake/modules/private/cache/build_cache.lua | 2 |
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 |
