[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH] tree-sitter-grammar.eclass: Fix compatibility with lld
From: "Matthew Smith" <matt () offtopica ! uk>
Date: 2021-12-20 17:34:40
Message-ID: 4087ebec-879d-46c0-a132-821d76100e1d () www ! fastmail ! com
[Download RAW message or body]
-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
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic