diff --git a/common/environment/build-style/go.sh b/common/environment/build-style/go.sh index 3f83013d4f..f3b4514d45 100644 --- a/common/environment/build-style/go.sh +++ b/common/environment/build-style/go.sh @@ -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"