From 0ce8d92f27e998451b0580ff8a65243eafd62cf7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 26 Jul 2019 17:10:47 +0300 Subject: [PATCH] wscript: ease debugging with sanitizers under Clang --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 1a871925..54452851 100644 --- a/wscript +++ b/wscript @@ -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'],