[PATCH] D29556: [lld] Fix pthread linking
Eric Fiselier via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 4 19:28:38 PST 2017
EricWF created this revision.
Herald added a subscriber: mgorny.
This patch contains the lld changes required by https://reviews.llvm.org/D29555
https://reviews.llvm.org/D29556
Files:
COFF/CMakeLists.txt
ELF/CMakeLists.txt
lib/ReaderWriter/MachO/CMakeLists.txt
unittests/CoreTests/CMakeLists.txt
Index: unittests/CoreTests/CMakeLists.txt
===================================================================
--- unittests/CoreTests/CMakeLists.txt
+++ unittests/CoreTests/CMakeLists.txt
@@ -3,5 +3,5 @@
)
target_link_libraries(CoreTests
- ${PTHREAD_LIB}
+ ${LLVM_PTHREAD_LIB}
)
Index: lib/ReaderWriter/MachO/CMakeLists.txt
===================================================================
--- lib/ReaderWriter/MachO/CMakeLists.txt
+++ lib/ReaderWriter/MachO/CMakeLists.txt
@@ -28,7 +28,7 @@
LINK_LIBS
lldCore
lldYAML
- ${PTHREAD_LIB}
+ ${LLVM_PTHREAD_LIB}
)
include_directories(.)
Index: ELF/CMakeLists.txt
===================================================================
--- ELF/CMakeLists.txt
+++ ELF/CMakeLists.txt
@@ -54,7 +54,7 @@
LINK_LIBS
lldConfig
lldCore
- ${PTHREAD_LIB}
+ ${LLVM_PTHREAD_LIB}
DEPENDS
ELFOptionsTableGen
Index: COFF/CMakeLists.txt
===================================================================
--- COFF/CMakeLists.txt
+++ COFF/CMakeLists.txt
@@ -43,7 +43,7 @@
LINK_LIBS
lldCore
- ${PTHREAD_LIB}
+ ${LLVM_PTHREAD_LIB}
DEPENDS
COFFOptionsTableGen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29556.87129.patch
Type: text/x-patch
Size: 1155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170205/61dbc361/attachment.bin>
More information about the llvm-commits
mailing list