Skip to content

Commit

Permalink
Fix external file recompilation (#12802)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooldome authored and Araq committed Dec 3, 2019
1 parent 7b562dd commit 01c7409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/extccomp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 01c7409

Please sign in to comment.