diff options
author | cooldome <cdome@bk.ru> | 2019-12-03 15:54:42 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-12-03 16:54:42 +0100 |
commit | 01c74099245e2c1a3efe7af6c55460c820c896ea (patch) | |
tree | 299adad1e9606a86697da30a2be0f7d31d03180a /compiler | |
parent | 7b562dd43d819b9d9c6a6d0a281079a29b1ea588 (diff) | |
download | Nim-01c74099245e2c1a3efe7af6c55460c820c896ea.tar.gz |
Fix external file recompilation (#12802)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 0eaba4600..d2d86bf58 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -678,7 +678,7 @@ proc footprint(conf: ConfigRef; cfile: Cfile): SecureHash = getCompileCFileCmd(conf, cfile)) proc externalFileChanged(conf: ConfigRef; cfile: Cfile): bool = - if conf.cmd notin {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToLLVM}: + if conf.cmd notin {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToLLVM, cmdNone}: return false var hashFile = toGeneratedFile(conf, conf.withPackageName(cfile.cname), "sha1") |