summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config/nim.cfg11
1 files changed, 5 insertions, 6 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index 088383f96..930b5b17b 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -183,20 +183,19 @@ vcc.linkerexe = "vccexe.exe"
 # set the options for specific platforms:
 @if i386:
 vcc.options.always = "--platform:x86 /nologo"
-vcc.options.linker.always = "--platform:x86 /nologo"
+vcc.options.linker = "--platform:x86 /nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @elif amd64:
 vcc.options.always = "--platform:amd64 /nologo"
-vcc.options.linker.always = "--platform:amd64 /nologo"
+vcc.options.linker = "--platform:amd64 /nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @elif arm:
 vcc.options.always = "--platform:arm /nologo"
-vcc.options.linker.always = "--platform:arm /nologo"
+vcc.options.linker = "--platform:arm /nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @else:
 vcc.options.always = "/nologo"
-vcc.options.linker.always = "/nologo"
+vcc.options.linker = "/nologo /DEBUG /Zi /F33554432" # set the stack size to 8 MB
 @end
 
-vcc.options.linker = "/DEBUG /Zi /Fd\"$projectName.pdb\" /F33554432" # set the stack size to 8 MB
-vcc.options.debug = "/Zi /Fd\"$projectName.pdb\""
+vcc.options.debug = "/Zi /Od"
 vcc.options.speed = "/O2"
 vcc.options.size = "/O1"