From: "Matthew Smith" <matt@offtopica.uk>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH] tree-sitter-grammar.eclass: Fix compatibility with lld
Date: Mon, 20 Dec 2021 17:34:40 +0000 [thread overview]
Message-ID: <4087ebec-879d-46c0-a132-821d76100e1d@www.fastmail.com> (raw)
-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/828093
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@offtopica.uk>
---
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 7207ecf3ddd7c..10baa3c4adb6c 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
}
reply other threads:[~2021-12-20 17:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4087ebec-879d-46c0-a132-821d76100e1d@www.fastmail.com \
--to=matt@offtopica.uk \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox