mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lang/harec: sync live ebuild
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -27,12 +27,18 @@ RDEPEND="${DEPEND}"
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local target_triple="${CTARGET:-${CHOST}}"
|
||||
|
||||
cp configs/linux.mk config.mk || die
|
||||
sed -i \
|
||||
-e 's/-Werror//' \
|
||||
-e 's/CC =/CC ?=/' \
|
||||
-e 's/AS =/AS ?=/' \
|
||||
-e 's/LD =/LD ?=/' \
|
||||
-e 's/CFLAGS =/CFLAGS +=/' \
|
||||
-e 's/LDFLAGS =/LDFLAGS ?=/' \
|
||||
-e 's/LDLINKFLAGS =/LDLINKFLAGS ?=/' \
|
||||
-e "s/ARCH =/ARCH = ${target_triple/-*}/" \
|
||||
config.mk || die
|
||||
|
||||
tc-export CC AS LD
|
||||
|
||||
Reference in New Issue
Block a user