wscript: ease debugging with sanitizers under Clang

This commit is contained in:
Alibek Omarov 2019-07-26 17:10:47 +03:00
parent 938a9f372f
commit 0ce8d92f27
1 changed files with 2 additions and 2 deletions

View File

@ -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'],