build-style/go: restrict archs for gccgo env too
this is because some archs lack support in gccgo, and some are not integrated yet in our toolchains
This commit is contained in:
parent
950477aec6
commit
69b49cfba6
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,11 @@ if [ -z "$hostmakedepends" -o "${hostmakedepends##*gcc-go-tools*}" ]; then
|
||||||
nopie=yes
|
nopie=yes
|
||||||
else
|
else
|
||||||
# gccgo compiler
|
# gccgo compiler
|
||||||
|
if [ -z "$archs" ]; then
|
||||||
|
# we have support for these in our gcc
|
||||||
|
# ppcle is missing, and mips doesn't have go in cross yet
|
||||||
|
archs="aarch64* armv[567]* i686* x86_64* ppc64* ppc ppc-musl"
|
||||||
|
fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# target compiler to use; otherwise it'll just call gccgo
|
# target compiler to use; otherwise it'll just call gccgo
|
||||||
export GCCGO="${XBPS_CROSS_TRIPLET}-gccgo"
|
export GCCGO="${XBPS_CROSS_TRIPLET}-gccgo"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue