mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -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
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/harec"
|
||||
@ -27,7 +29,14 @@ src_prepare() {
|
||||
default
|
||||
|
||||
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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user