mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user