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

Thanks to Arfrever for noticing.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-03-04 21:05:14 +01:00
parent 36c4f624f7
commit fee39ded7a

View File

@@ -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
}