From: | Nick Sarnie <sarnex@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: eclass/ |
Date: | Thu, 23 Dec 2021 14:25:15 |
Message-Id: | 1640269475.36fd27f6090b1cb0c96488b8f0e9b4fba5b9472d.sarnex@gentoo |
1 | commit: 36fd27f6090b1cb0c96488b8f0e9b4fba5b9472d |
2 | Author: Matthew Smith <matt <AT> offtopica <DOT> uk> |
3 | AuthorDate: Mon Dec 20 17:32:15 2021 +0000 |
4 | Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 | CommitDate: Thu Dec 23 14:24:35 2021 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36fd27f6 |
7 | |
8 | tree-sitter-grammar.eclass: Fix compatibility with lld |
9 | |
10 | -soname <soname> is only accepted by GNU ld, but --soname=<soname> is |
11 | accepted by both GNU ld and LLVM lld. |
12 | |
13 | Closes: https://bugs.gentoo.org/829667 |
14 | Closes: https://bugs.gentoo.org/829668 |
15 | Closes: https://bugs.gentoo.org/829669 |
16 | Closes: https://bugs.gentoo.org/829670 |
17 | Closes: https://bugs.gentoo.org/829671 |
18 | Closes: https://bugs.gentoo.org/829672 |
19 | Closes: https://bugs.gentoo.org/829673 |
20 | Closes: https://bugs.gentoo.org/829674 |
21 | Closes: https://bugs.gentoo.org/829675 |
22 | Closes: https://bugs.gentoo.org/829676 |
23 | Closes: https://bugs.gentoo.org/829677 |
24 | Signed-off-by: Matthew Smith <matt <AT> offtopica.uk> |
25 | Closes: https://github.com/gentoo/gentoo/pull/23436 |
26 | Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
27 | |
28 | eclass/tree-sitter-grammar.eclass | 2 +- |
29 | 1 file changed, 1 insertion(+), 1 deletion(-) |
30 | |
31 | diff --git a/eclass/tree-sitter-grammar.eclass b/eclass/tree-sitter-grammar.eclass |
32 | index 7207ecf3ddd7..10baa3c4adb6 100644 |
33 | --- a/eclass/tree-sitter-grammar.eclass |
34 | +++ b/eclass/tree-sitter-grammar.eclass |
35 | @@ -77,7 +77,7 @@ tree-sitter-grammar_src_compile() { |
36 | ${link} ${LDFLAGS} \ |
37 | -shared \ |
38 | *.o \ |
39 | - -Wl,-soname ${soname} \ |
40 | + -Wl,--soname=${soname} \ |
41 | -o "${WORKDIR}"/${soname} || die |
42 | } |