diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-12 10:09:33 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-07-05 13:55:38 +0300 |
commit | f4d5509345750e68f3c8d76b360e9e26a1ccc35f (patch) | |
tree | 5673dfcf2b4e9666384660d98d8fb65782a81bf0 | |
parent | tree-sitter-grammar.eclass: extended packaging (diff) | |
download | gentoo-f4d5509345750e68f3c8d76b360e9e26a1ccc35f.tar.gz gentoo-f4d5509345750e68f3c8d76b360e9e26a1ccc35f.tar.bz2 gentoo-f4d5509345750e68f3c8d76b360e9e26a1ccc35f.zip |
tree-sitter-grammar.eclass: respect CC & AR
Closes: https://bugs.gentoo.org/932626
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37122
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | eclass/tree-sitter-grammar.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/tree-sitter-grammar.eclass b/eclass/tree-sitter-grammar.eclass index ff0c4cb979e6..1e83ff8c98b9 100644 --- a/eclass/tree-sitter-grammar.eclass +++ b/eclass/tree-sitter-grammar.eclass @@ -162,6 +162,8 @@ tree-sitter-grammar_src_compile() { if [[ -f "${S}/pyproject.toml" ]]; then sed -e "/SONAME_MINOR :=/s/:=.*$/:= $(_get_tsg_abi_ver)/" -i "${S}/Makefile" || die emake \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ STRIP="" \ PREFIX="${EPREFIX}/usr" \ LIBDIR="${EPREFIX}/usr/$(get_libdir)" |