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
|
@ -7,6 +7,11 @@ if [ -z "$hostmakedepends" -o "${hostmakedepends##*gcc-go-tools*}" ]; then
|
|||
nopie=yes
|
||||
else
|
||||
# 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
|
||||
# target compiler to use; otherwise it'll just call gccgo
|
||||
export GCCGO="${XBPS_CROSS_TRIPLET}-gccgo"
|
||||
|
|
Loading…
Reference in New Issue