[compiler-rt] r357519 - [TSan][libdispatch] We don't require any setup on Darwin
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 2 13:04:32 PDT 2019
Author: yln
Date: Tue Apr 2 13:04:32 2019
New Revision: 357519
URL: http://llvm.org/viewvc/llvm-project?rev=357519&view=rev
Log:
[TSan][libdispatch] We don't require any setup on Darwin
Modified:
compiler-rt/trunk/CMakeLists.txt
Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=357519&r1=357518&r2=357519&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Tue Apr 2 13:04:32 2019
@@ -187,7 +187,7 @@ option(COMPILER_RT_BLOCKS_RUNTIME_LIBRAR
"Library search path for blocks runtime (-lBlocksRuntime)" "")
option(COMPILER_RT_LIBDISPATCH_LIBRARY_PATH
"Library search path for libdispatch (-ldispatch)" "")
-if (COMPILER_RT_INTERCEPT_LIBDISPATCH)
+if (COMPILER_RT_INTERCEPT_LIBDISPATCH AND NOT APPLE)
set(COMPILER_RT_INTERCEPT_LIBDISPATCH_CFLAGS -fblocks)
set(COMPILER_RT_INTERCEPT_LIBDISPATCH_LINK_FLAGS)
if (COMPILER_RT_BLOCKS_RUNTIME_LIBRARY_PATH)
More information about the llvm-commits
mailing list