public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] tree-sitter-grammar.eclass: Fix compatibility with lld
@ 2021-12-20 17:34 Matthew Smith
  0 siblings, 0 replies; only message in thread
From: Matthew Smith @ 2021-12-20 17:34 UTC (permalink / raw)
  To: gentoo-dev

-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
 }
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-20 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-20 17:34 [gentoo-dev] [PATCH] tree-sitter-grammar.eclass: Fix compatibility with lld Matthew Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox