Eric Engestrom 2025-06-25 16:14:17 +02:00 committed by Marge Bot
parent 474774ea58
commit b4ed35994d

View file

@ -6,7 +6,7 @@ project(
['c', 'cpp'],
version : files('VERSION'),
license : 'MIT',
meson_version : '>= 1.3.0',
meson_version : '>= 1.4.0',
default_options : [
'buildtype=debugoptimized',
'b_ndebug=if-release',
@ -1906,9 +1906,6 @@ endif
# so add a define to work silence these issues.
if get_option('b_sanitize') == 'thread'
pre_args += '-DTHREAD_SANITIZER=1'
# meson versions prior to 1.4 will warn "Consider using the built-in option for sanitizers ..."
# later on because it only checks whether the option starts with "-fsanitize",
# but there is no built-in option for adding a blacklist
tsan_blacklist = '-fsanitize-blacklist=@0@'.format(join_paths(meson.project_source_root(), 'build-support', 'tsan-blacklist.txt'))
if cc.has_argument(tsan_blacklist)
pre_args += tsan_blacklist