diff options
author | Anna <cyber@sysrq.in> | 2023-07-18 19:06:21 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 16:06:21 +0200 |
commit | 14a9929464b9f658155ed429397216736fccc259 (patch) | |
tree | 8ed9e5d8ca6eb79fac16ab5a5587fac1ba5d4ec4 /compiler/extccomp.nim | |
parent | f16b94a9d7011bd00ebb3966d76ef8b2c0dfc752 (diff) | |
download | Nim-14a9929464b9f658155ed429397216736fccc259.tar.gz |
Fix #22281 (#22289)
Respect `--gcc.exe` and similar options when `--genScript:on` is used.
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 832242456..391f158f0 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -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)])) |