commit:     fb03cbc17bca78574761970e614cb2b1faec9fad
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 15 02:11:35 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 02:11:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb03cbc1

sys-devel/mold: update 9999 for tests

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/mold/mold-9999.ebuild | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index 4ba32b129af9..3f25d6ac3628 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -18,7 +18,7 @@ fi
 LICENSE="AGPL-3"
 SLOT="0"
 
-# Try again after 0.9.6
+# Try again after 1.0 (nearly there, but path-related issues)
 RESTRICT="test"
 
 RDEPEND=">=dev-cpp/tbb-2021.4.0:=
@@ -30,6 +30,13 @@ RDEPEND=">=dev-cpp/tbb-2021.4.0:=
        )"
 DEPEND="${RDEPEND}"
 
+src_prepare() {
+       default
+
+       # Needs unpackaged dwarfdump
+       rm test/elf/{compress-debug-sections.sh,compressed-debug-info.sh} || die
+}
+
 src_compile() {
        tc-export CC CXX
 
@@ -41,12 +48,7 @@ src_compile() {
 }
 
 src_test() {
-       emake \
-               SYSTEM_TBB=1 \
-               SYSTEM_MIMALLOC=1 \
-               LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
-               STRIP="true"
-               check
+       emake -C test -f Makefile.linux test
 }
 
 src_install() {

Reply via email to