summary refs log tree commit diff stats
path: root/compiler/extccomp.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-06-29 23:08:45 +0200
committerAndreas Rumpf <rumpf_a@web.de>2015-06-29 23:08:45 +0200
commit39f549d06a095f1797f4547c1a964408f92a890a (patch)
treeeea5ac0db9f5c3c9a74bde9ac3a456fd6c048bac /compiler/extccomp.nim
parent8ef0d9386bba0e3b94a20746c61c62fa8d28e160 (diff)
parent6aae246ef156ed7716b6df79365220afa6267fc0 (diff)
downloadNim-39f549d06a095f1797f4547c1a964408f92a890a.tar.gz
Merge pull request #3019 from flaviut/fix-3018
Fix #3018
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r--compiler/extccomp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index 2c6e5294f..8d3260275 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -585,7 +585,7 @@ proc externalFileChanged(filename: string): bool =
   if gCmd notin {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToLLVM}:
     return false
 
-  var crcFile = toGeneratedFile(filename.withPackageName, "crc")
+  var crcFile = toGeneratedFile(filename.withPackageName, "sha1")
   var currentCrc = footprint(filename)
   var f: File
   if open(f, crcFile, fmRead):