diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index e6175784e..b52c71c94 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -226,6 +226,11 @@ clang.options.speed = "-O3" clang.options.size = "-Os" @if windows: + clang_cl.cpp.options.always %= "${clang_cl.options.always} /EHsc" + @if not release: + clang_cl.options.linker = "/Z7" + clang_cl.cpp.options.linker = "/Z7" + @end clang.options.debug = "-g -gcodeview" clang.cpp.options.debug = "-g -gcodeview" @if not release: |