diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-13 18:05:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 18:05:31 +0200 |
commit | d6b392825fc3e22d9e0c62f0d17633c4224eb28f (patch) | |
tree | 5c9bc70e0a9ad094fb22398d9ba6e57bc09aba85 /platform/windows/detect.py | |
parent | 322b0bee4967545383fba8a2c9b1253e2a2bbf43 (diff) | |
parent | 83fe9373621ab9f7e175a43868b2eda935107539 (diff) |
Merge pull request #11061 from marcelofg55/dump_backtrace
Add a segfault handler to dump the backtrace on Windows, Linux and OS X
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r-- | platform/windows/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index d239ccf7d2..a7cca23973 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -123,7 +123,7 @@ def configure(env): env.Append(LINKFLAGS=['/ENTRY:mainCRTStartup']) elif (env["target"] == "debug"): - env.Append(CCFLAGS=['/Z7', '/DDEBUG_ENABLED', '/DDEBUG_MEMORY_ENABLED', '/DD3D_DEBUG_INFO', '/Od']) + env.Append(CCFLAGS=['/Z7', '/DDEBUG_ENABLED', '/DDEBUG_MEMORY_ENABLED', '/DD3D_DEBUG_INFO', '/Od', '/EHsc']) env.Append(LINKFLAGS=['/SUBSYSTEM:CONSOLE']) env.Append(LINKFLAGS=['/DEBUG']) |