diff options
Diffstat (limited to 'test/tsan/CMakeLists.txt')
-rw-r--r-- | test/tsan/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/CMakeLists.txt b/test/tsan/CMakeLists.txt index a68908612952..2b1d3004b1de 100644 --- a/test/tsan/CMakeLists.txt +++ b/test/tsan/CMakeLists.txt @@ -7,9 +7,9 @@ endif() if(NOT COMPILER_RT_STANDALONE_BUILD) list(APPEND TSAN_TEST_DEPS tsan) endif() -if(COMPILER_RT_HAS_LIBCXX_SOURCES AND +if(COMPILER_RT_LIBCXX_PATH AND COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang" - AND NOT APPLE) + AND NOT APPLE AND NOT ANDROID) list(APPEND TSAN_TEST_DEPS libcxx_tsan) set(TSAN_HAS_LIBCXX True) else() |