sys-devel/lld: Stop building and installing split shared libs in 10+
authorMichał Górny <mgorny@gentoo.org>
Tue, 10 Sep 2019 11:49:53 +0000 (13:49 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 1 Oct 2019 13:56:22 +0000 (15:56 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-devel/lld/lld-10.0.0.9999.ebuild

index 2469a9bd70468f3fad1ea6eae5a3a621392e4361..71f20ca051235dc41f77376fc090a969f8fa66a9 100644 (file)
@@ -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
+}