diff options
author | Araq <rumpf_a@web.de> | 2019-06-05 16:26:11 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-06-05 16:26:23 +0200 |
commit | 8cc975328588b076791915926a2e7e6dfab0d3d0 (patch) | |
tree | 8488c9cb7e76c0f06954872fc420ffb66bf1f59e /compiler | |
parent | 6ebbff0a111b284625dced137973a660087befb1 (diff) | |
download | Nim-8cc975328588b076791915926a2e7e6dfab0d3d0.tar.gz |
fixes #11405
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 1ec7e6868..0c3bfba30 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -775,6 +775,8 @@ proc getLinkCmd(conf: ConfigRef; output: AbsoluteFile, let t = now() let pdb = output.string & "." & format(t, "MMMM-yyyy-HH-mm-") & $t.nanosecond & ".pdb" result.add " /link /PDB:" & pdb + if optCDebug in conf.globalOptions and conf.cCompiler == ccVcc: + result.add " /Zi /FS /Od" template getLinkCmd(conf: ConfigRef; output: AbsoluteFile, objfiles: string): string = getLinkCmd(conf, output, objfiles, optGenDynLib in conf.globalOptions) |