summaryrefslogtreecommitdiff
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-09-07 22:01:49 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-09-13 10:07:23 -0300
commit83fe9373621ab9f7e175a43868b2eda935107539 (patch)
tree116a92b2c32713b4f3f907b451e457a9a623d50a /platform/windows/detect.py
parent06138bf18c25a8c5f7e2e5bb1ebd9dcf0b2f28dd (diff)
Added a crash handler to dump the backtrace on Windows, Linux and OS X
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py2
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'])