From 5f34586458eebda4da0e2d35da93a4bc5f13c7d0 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sat, 23 Mar 2024 16:28:11 +0200 Subject: tree-sitter-grammar.eclass: don't pre-strip library When STRIP is set to anon empty value, it is called during build of the shared library. By unsetting it, the strip isn't called during compile but by the portage strip phase. Closes: https://bugs.gentoo.org/927571 Closes: https://bugs.gentoo.org/927572 Signed-off-by: Arthur Zamarin --- eclass/tree-sitter-grammar.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/tree-sitter-grammar.eclass b/eclass/tree-sitter-grammar.eclass index 74443e213b89..b5e020065547 100644 --- a/eclass/tree-sitter-grammar.eclass +++ b/eclass/tree-sitter-grammar.eclass @@ -163,6 +163,7 @@ tree-sitter-grammar_src_compile() { if [[ -f "${S}/pyproject.toml" ]]; then sed -e "/SONAME_MINOR :=/s/:=.*$/:= $(_get_tsg_abi_ver)/" -i "${S}/Makefile" || die emake \ + STRIP="" \ PREFIX="${EPREFIX}/usr" \ LIBDIR="${EPREFIX}/usr/$(get_libdir)" else -- cgit v1.2.3-65-gdbad