mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
dev-lang/harec-9999: Use ?= for CC/AS/LD values
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
parent
05a1bcdeef
commit
6d40e4a703
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
if [[ "${PV}" = "9999" ]]; then
|
if [[ "${PV}" = "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/harec"
|
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/harec"
|
||||||
@ -27,7 +29,14 @@ src_prepare() {
|
|||||||
default
|
default
|
||||||
|
|
||||||
cp configs/linux.mk config.mk || die
|
cp configs/linux.mk config.mk || die
|
||||||
sed -i 's/-Werror//' config.mk || die
|
sed -i \
|
||||||
|
-e 's/-Werror//' \
|
||||||
|
-e 's/CC =/CC ?=/' \
|
||||||
|
-e 's/AS =/AS ?=/' \
|
||||||
|
-e 's/LD =/LD ?=/' \
|
||||||
|
config.mk || die
|
||||||
|
|
||||||
|
tc-export CC AS LD
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user