projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3a5d7
)
Link libpthread into LLVMCore.so
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 15 Aug 2019 18:06:30 +0000
(18:06 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 15 Aug 2019 18:06:30 +0000
(18:06 +0000)
After r369018 the compiler can inline pthread calls into users of
RWMutex.
llvm-svn: 369029
llvm/lib/IR/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/CMakeLists.txt
b/llvm/lib/IR/CMakeLists.txt
index
b129319
..
a901263
100644
(file)
--- a/
llvm/lib/IR/CMakeLists.txt
+++ b/
llvm/lib/IR/CMakeLists.txt
@@
-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
)