diff options
| author | WANG Xuerui <xen0n@gentoo.org> | 2023-11-23 16:04:18 +0800 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2023-11-24 16:26:14 +0000 |
| commit | 0061d784248dc29adc92c7881d2854deb6cc12e1 (patch) | |
| tree | ef0f78ade97ff1afe26141e12689ef815e73bb49 /dev-python/GitPython | |
| parent | 9fb636f5d3b724e31dfc3cf6013d4196b924a18c (diff) | |
| download | gentoo-0061d784248dc29adc92c7881d2854deb6cc12e1.tar.gz gentoo-0061d784248dc29adc92c7881d2854deb6cc12e1.tar.bz2 gentoo-0061d784248dc29adc92c7881d2854deb6cc12e1.zip | |
go-env.eclass: unify GOARCH mapping logic with dev-lang/go
Previously the eclass featured its own GOARCH mapping, that took care
of less cases than the dev-lang/go ebuild did, and broke Go packages on
arches like loong (GOARCH=loong64), mips (4 GOARCHes supported in total)
or riscv (GOARCH=riscv64).
This patch adds a copy of the go_arch() helper from dev-lang/go to the
eclass and switches the go-env_set_compile_environment() function to use
that, to fix the problem at hand.
Fixes: 878d04daaf34765e6224e58139a9c45921d7a0c3
Closes: https://bugs.gentoo.org/917750
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/GitPython')
0 files changed, 0 insertions, 0 deletions
