commit: 36fd27f6090b1cb0c96488b8f0e9b4fba5b9472d Author: Matthew Smith <matt <AT> offtopica <DOT> uk> AuthorDate: Mon Dec 20 17:32:15 2021 +0000 Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> CommitDate: Thu Dec 23 14:24:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36fd27f6
tree-sitter-grammar.eclass: Fix compatibility with lld -soname <soname> is only accepted by GNU ld, but --soname=<soname> is accepted by both GNU ld and LLVM lld. Closes: https://bugs.gentoo.org/829667 Closes: https://bugs.gentoo.org/829668 Closes: https://bugs.gentoo.org/829669 Closes: https://bugs.gentoo.org/829670 Closes: https://bugs.gentoo.org/829671 Closes: https://bugs.gentoo.org/829672 Closes: https://bugs.gentoo.org/829673 Closes: https://bugs.gentoo.org/829674 Closes: https://bugs.gentoo.org/829675 Closes: https://bugs.gentoo.org/829676 Closes: https://bugs.gentoo.org/829677 Signed-off-by: Matthew Smith <matt <AT> offtopica.uk> Closes: https://github.com/gentoo/gentoo/pull/23436 Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> eclass/tree-sitter-grammar.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/tree-sitter-grammar.eclass b/eclass/tree-sitter-grammar.eclass index 7207ecf3ddd7..10baa3c4adb6 100644 --- a/eclass/tree-sitter-grammar.eclass +++ b/eclass/tree-sitter-grammar.eclass @@ -77,7 +77,7 @@ tree-sitter-grammar_src_compile() { ${link} ${LDFLAGS} \ -shared \ *.o \ - -Wl,-soname ${soname} \ + -Wl,--soname=${soname} \ -o "${WORKDIR}"/${soname} || die }