mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lang/harec: set config.mk ARCH to correct value
Otherwise it is set to x86_64. Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -27,12 +27,15 @@ 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/ARCH =/ARCH = ${target_triple/-*}/" \
|
||||
config.mk || die
|
||||
|
||||
tc-export CC AS LD
|
||||
|
||||
Reference in New Issue
Block a user