Check whether the compiler actually supports it and if not than warn about it. Note that meson will also suggest that one should use the build-in flag, but this is just sloppy testing for -fsanitize, -fsanitize-blacklist is actually not available as build-in option. v2: define THREAD_SANITIZER to 1 or 0 (suggested by Yonggang Luo) v3: Update comment about meson warning (Dylan Baker) Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28650>
64 B
64 B