diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2024-07-18 00:25:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-17 18:25:19 +0200 |
commit | 494c24a7cebf982c385c9390c1d002db5fbacf51 (patch) | |
tree | 130b68476dc52793309d86281052149e5856632d /compiler/nim.nim | |
parent | 2b7c47b1222b4276ea12452e84f3b8d44b6b8315 (diff) | |
download | Nim-494c24a7cebf982c385c9390c1d002db5fbacf51.tar.gz |
fixes #23848; The comand `nim gendepend` defaults to ORC (#23851)
fixes #23848
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r-- | compiler/nim.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim index 1d499a50d..005f11a58 100644 --- a/compiler/nim.nim +++ b/compiler/nim.nim @@ -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) |