fixes #23848; The comand nim gendepend defaults to ORC (#23851)

fixes #23848
This commit is contained in:
ringabout
2024-07-18 00:25:19 +08:00
committed by GitHub
parent 2b7c47b122
commit 494c24a7ce

View File

@@ -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)