Fix external file recompilation (#12802)
This commit is contained in:
parent
7b562dd43d
commit
01c7409924
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue