Respect `--gcc.exe` and similar options when `--genScript:on` is used.
This commit is contained in:
Anna
2023-07-18 19:06:21 +05:00
committed by GitHub
parent f16b94a9d7
commit 14a9929464

View File

@@ -580,7 +580,7 @@ proc getCompileCFileCmd*(conf: ConfigRef; cfile: Cfile,
compilePattern = joinPath(conf.cCompilerPath, exe)
else:
compilePattern = getCompilerExe(conf, c, isCpp)
compilePattern = exe
includeCmd.add(join([CC[c].includeCmd, quoteShell(conf.projectPath.string)]))