Fixed default value for enable_asan.

This commit is contained in:
Patrick 2025-01-09 17:56:28 +01:00
parent 0b8d115907
commit 10a5239b7f

View File

@ -724,7 +724,7 @@ vars.Add('PYTHON', 'Python Executable', 'python')
vars.Add('COMPILATIONDB_FILTER_FILES', 'Removes source files from the compilation DB that are not from the current'
' project.', config['COMPILATIONDB_FILTER_FILES'])
vars.Add('SHOW_INCLUDES', 'Show include hierarchy (for debugging).', False)
vars.Add('ENABLE_ASAN', 'Enable address sanitization.', enable_asan)
vars.Add('ENABLE_ASAN', 'Enable address sanitization.', bool(enable_asan))
tools = ['default', 'compilation_db', 'unity_build']
if 'TOOLS' in config: