scripts: waifulib: add asan-only build type

This commit is contained in:
Alibek Omarov
2025-01-23 10:11:20 +03:00
parent 1e075d25b7
commit e5d80878b8
2 changed files with 13 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ def options(opt):
pass
def configure(conf):
if conf.options.BUILD_TYPE != 'sanitize':
if conf.options.BUILD_TYPE not in ['sanitize', 'asan']:
conf.fatal('useless without -T sanitize')
if conf.env.COMPILER_CC != 'clang':