[llvm] r369029 - Link libpthread into LLVMCore.so
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 15 11:06:30 PDT 2019
Author: d0k
Date: Thu Aug 15 11:06:30 2019
New Revision: 369029
URL: http://llvm.org/viewvc/llvm-project?rev=369029&view=rev
Log:
Link libpthread into LLVMCore.so
After r369018 the compiler can inline pthread calls into users of
RWMutex.
Modified:
llvm/trunk/lib/IR/CMakeLists.txt
Modified: llvm/trunk/lib/IR/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/CMakeLists.txt?rev=369029&r1=369028&r2=369029&view=diff
==============================================================================
--- llvm/trunk/lib/IR/CMakeLists.txt (original)
+++ llvm/trunk/lib/IR/CMakeLists.txt Thu Aug 15 11:06:30 2019
@@ -61,6 +61,8 @@ add_llvm_library(LLVMCore
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/IR
+ LINK_LIBS ${LLVM_PTHREAD_LIB}
+
DEPENDS
intrinsics_gen
)
More information about the llvm-commits
mailing list