dev-lang/hare: tc-export CC AR AS LD

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2026-03-28 06:12:39 +01:00
parent 61f09a7f9d
commit 69fa3cb262
2 changed files with 11 additions and 3 deletions

View File

@@ -3,6 +3,8 @@
EAPI=8
inherit toolchain-funcs
if [[ "${PV}" = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare"
@@ -45,10 +47,12 @@ src_configure() {
sed -i \
-e "s;^ARCH =.*;ARCH = ${target_arch};" \
-e "s;^PREFIX =.*;PREFIX = ${EPREFIX}/usr;" \
-e 's;^AR =;AR ?=;' \
-e 's;^AS =;AS ?=;' \
-e 's;^LD =;LD ?=;' \
-e 's;^AR =;AR ?=;' \
config.mk || die
tc-export CC AR AS LD
}
src_install() {

View File

@@ -1,8 +1,10 @@
# Copyright 2021-2024 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
if [[ "${PV}" = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare"
@@ -45,10 +47,12 @@ src_configure() {
sed -i \
-e "s;^ARCH =.*;ARCH = ${target_arch};" \
-e "s;^PREFIX =.*;PREFIX = ${EPREFIX}/usr;" \
-e 's;^AR =;AR ?=;' \
-e 's;^AS =;AS ?=;' \
-e 's;^LD =;LD ?=;' \
-e 's;^AR =;AR ?=;' \
config.mk || die
tc-export CC AR AS LD
}
src_install() {