sys-devel/lld: Remove obsolete PTHREAD_LIB hack
authorMichał Górny <mgorny@gentoo.org>
Wed, 15 Nov 2017 17:06:38 +0000 (18:06 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Nov 2017 12:33:40 +0000 (13:33 +0100)
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
sys-devel/lld/lld-5.0.9999.ebuild
sys-devel/lld/lld-9999.ebuild

index dabb7f02f7431671a3bbd1c1d1c9584819748b5c..87a3c859909b2a042507956a7bb1735dc4c6fc12 100644 (file)
@@ -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
index 6c2601f5d4235357fea5923cf9b6526964e22225..c47d7243527e6efbf9346c1eb7bf212cfbfc3b0a 100644 (file)
@@ -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
index a8e3f4f39dc9adaa544a363bc4c374dd88bacc6d..a7b5d23282c8c3b7260962ff8da3cdd4c9bce79f 100644 (file)
@@ -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