diff options
Diffstat (limited to 'build/build-clang/disable-mac-tsan.patch')
-rw-r--r-- | build/build-clang/disable-mac-tsan.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/build-clang/disable-mac-tsan.patch b/build/build-clang/disable-mac-tsan.patch new file mode 100644 index 000000000..3bd0d3c60 --- /dev/null +++ b/build/build-clang/disable-mac-tsan.patch @@ -0,0 +1,11 @@ +--- a/compiler-rt/cmake/config-ix.cmake ++++ b/compiler-rt/cmake/config-ix.cmake +@@ -617,7 +617,7 @@ + endif() + + if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND +- OS_NAME MATCHES "Darwin|Linux|FreeBSD") ++ OS_NAME MATCHES "Linux|FreeBSD") + set(COMPILER_RT_HAS_TSAN TRUE) + else() + set(COMPILER_RT_HAS_TSAN FALSE) |