diff --git a/meson.build b/meson.build index e41be12a1f1..fd4eb0b8af9 100644 --- a/meson.build +++ b/meson.build @@ -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