commit:     1802203acabc1bab7f11697437e6a65f3553bb00
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 17:06:38 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 12:33:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1802203a

sys-devel/lld: Remove obsolete PTHREAD_LIB hack

Upstream now correctly propagates pthread libraries via LLVM_PTHREAD_LIB
in LLVMConfig.cmake, so the hack is no longer necessary.

 sys-devel/lld/lld-5.0.0.ebuild    | 2 --
 sys-devel/lld/lld-5.0.9999.ebuild | 2 --
 sys-devel/lld/lld-9999.ebuild     | 2 --
 3 files changed, 6 deletions(-)

diff --git a/sys-devel/lld/lld-5.0.0.ebuild b/sys-devel/lld/lld-5.0.0.ebuild
index dabb7f02f74..87a3c859909 100644
--- a/sys-devel/lld/lld-5.0.0.ebuild
+++ b/sys-devel/lld/lld-5.0.0.ebuild
@@ -51,8 +51,6 @@ src_configure() {
                -DBUILD_SHARED_LIBS=ON
 
                -DLLVM_INCLUDE_TESTS=$(usex test)
-               # TODO: fix detecting pthread upstream in stand-alone build
-               -DPTHREAD_LIB='-lpthread'
        )
        use test && mycmakeargs+=(
                -DLLVM_BUILD_TESTS=ON

diff --git a/sys-devel/lld/lld-5.0.9999.ebuild 
b/sys-devel/lld/lld-5.0.9999.ebuild
index 6c2601f5d42..c47d7243527 100644
--- a/sys-devel/lld/lld-5.0.9999.ebuild
+++ b/sys-devel/lld/lld-5.0.9999.ebuild
@@ -58,8 +58,6 @@ src_configure() {
                -DBUILD_SHARED_LIBS=ON
 
                -DLLVM_INCLUDE_TESTS=$(usex test)
-               # TODO: fix detecting pthread upstream in stand-alone build
-               -DPTHREAD_LIB='-lpthread'
        )
        use test && mycmakeargs+=(
                -DLLVM_BUILD_TESTS=ON

diff --git a/sys-devel/lld/lld-9999.ebuild b/sys-devel/lld/lld-9999.ebuild
index a8e3f4f39dc..a7b5d23282c 100644
--- a/sys-devel/lld/lld-9999.ebuild
+++ b/sys-devel/lld/lld-9999.ebuild
@@ -57,8 +57,6 @@ src_configure() {
                -DBUILD_SHARED_LIBS=ON
 
                -DLLVM_INCLUDE_TESTS=$(usex test)
-               # TODO: fix detecting pthread upstream in stand-alone build
-               -DPTHREAD_LIB='-lpthread'
        )
        use test && mycmakeargs+=(
                -DLLVM_BUILD_TESTS=ON

Reply via email to