diff options
author | Araq <rumpf_a@web.de> | 2016-12-16 22:02:49 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-12-16 22:02:49 +0100 |
commit | 3a4ec7f101f539fb536086b59c84e1b2c095ef82 (patch) | |
tree | c861722a3c03180197e32d5951da186338a9ee90 /config | |
parent | 843ae830d3adb8024047f70c0a8757f26556dab7 (diff) | |
download | Nim-3a4ec7f101f539fb536086b59c84e1b2c095ef82.tar.gz |
use dwarf-3 debug information on Windows/GCC for compat with older GDBs
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index b5bcc4053..7c8c78969 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -157,8 +157,11 @@ clang.objc.options.linker = "-lobjc -lgnustep-base" gcc.options.speed = "-O3 -fno-strict-aliasing" gcc.options.size = "-Os" -gcc.options.debug = "-g3 -O0" - +@if windows: + gcc.options.debug = "-g3 -O0 -gdwarf-3" +@else: + gcc.options.debug = "-g3 -O0" +@end gcc.cpp.options.speed = "-O3 -fno-strict-aliasing" gcc.cpp.options.size = "-Os" gcc.cpp.options.debug = "-g3 -O0" |