diff options
-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) |