commit:     543cf8fe6c1fd804dd47a00a56c8f2b81940c37b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 11:49:53 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 13:56:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=543cf8fe

sys-devel/lld: Stop building and installing split shared libs in 10+

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/lld/lld-10.0.0.9999.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-devel/lld/lld-10.0.0.9999.ebuild 
b/sys-devel/lld/lld-10.0.0.9999.ebuild
index 2469a9bd704..71f20ca0512 100644
--- a/sys-devel/lld/lld-10.0.0.9999.ebuild
+++ b/sys-devel/lld/lld-10.0.0.9999.ebuild
@@ -55,7 +55,7 @@ src_unpack() {
 
 src_configure() {
        local mycmakeargs=(
-               -DBUILD_SHARED_LIBS=ON
+               -DBUILD_SHARED_LIBS=OFF
 
                -DLLVM_INCLUDE_TESTS=$(usex test)
        )
@@ -73,3 +73,8 @@ src_test() {
        local -x LIT_PRESERVES_TMP=1
        cmake-utils_src_make check-lld
 }
+
+src_install() {
+       default
+       find "${D}" -name '*.a' -delete || die
+}

Reply via email to