Browse Source

wscript: ease debugging with sanitizers under Clang

pull/2/head
Alibek Omarov 5 years ago
parent
commit
0ce8d92f27
  1. 4
      wscript

4
wscript

@ -170,8 +170,8 @@ def configure(conf): @@ -170,8 +170,8 @@ def configure(conf):
'sanitize': {
'msvc': ['/Od', '/RTC1'],
'gcc': ['-Og', '-fsanitize=undefined', '-fsanitize=address'],
'clang': ['-O1', '-fsanitize=undefined', '-fsanitize=address'],
'default': ['-O1']
'clang': ['-O0', '-fsanitize=undefined', '-fsanitize=address'],
'default': ['-O0']
},
'nooptimize': {
'msvc': ['/Od'],

Loading…
Cancel
Save