Skip to content

Commit

Permalink
fixes #23848; The comand nim gendepend defaults to ORC (#23851)
Browse files Browse the repository at this point in the history
fixes #23848
  • Loading branch information
ringabout authored Jul 17, 2024
1 parent 2b7c47b commit 494c24a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/nim.nim
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =

if conf.selectedGC == gcUnselected:
if conf.backend in {backendC, backendCpp, backendObjc} or
(conf.cmd in cmdDocLike and conf.backend != backendJs):
(conf.cmd in cmdDocLike and conf.backend != backendJs) or
conf.cmd == cmdGendepend:
initOrcDefines(conf)

mainCommand(graph)
Expand Down

0 comments on commit 494c24a

Please sign in to comment.