commit:     fee39ded7a34b9815a7905d044eb9abbd8a16ced
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  4 20:05:14 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar  4 20:27:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee39ded

sys-devel/lld: Also enable shared libs for 12.0.0_rc2

Thanks to Arfrever for noticing.

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

 sys-devel/lld/lld-12.0.0_rc2.ebuild | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/sys-devel/lld/lld-12.0.0_rc2.ebuild 
b/sys-devel/lld/lld-12.0.0_rc2.ebuild
index 130638f2e5a..da442603c87 100644
--- a/sys-devel/lld/lld-12.0.0_rc2.ebuild
+++ b/sys-devel/lld/lld-12.0.0_rc2.ebuild
@@ -49,8 +49,7 @@ src_unpack() {
 
 src_configure() {
        local mycmakeargs=(
-               -DBUILD_SHARED_LIBS=OFF
-
+               -DBUILD_SHARED_LIBS=ON
                -DLLVM_INCLUDE_TESTS=$(usex test)
                -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
        )
@@ -60,7 +59,6 @@ src_configure() {
                -DLLVM_LIT_ARGS="$(get_lit_flags)"
                -DPython3_EXECUTABLE="${PYTHON}"
        )
-
        cmake_src_configure
 }
 
@@ -68,9 +66,3 @@ src_test() {
        local -x LIT_PRESERVES_TMP=1
        cmake_build check-lld
 }
-
-src_install() {
-       cmake_src_install
-       # LLD has no shared libraries, so strip it all for the time being
-       rm -r "${ED}"/usr/{include,lib*} || die
-}

Reply via email to