common/environment/build-style/go.sh: fix internal linking on i686
This commit is contained in:
parent
fc49c6e396
commit
5912b3f5b7
@ -43,3 +43,8 @@ case "$XBPS_TARGET_MACHINE" in
|
|||||||
*-musl) export GOCACHE="${XBPS_HOSTDIR}/gocache-muslc" ;;
|
*-musl) export GOCACHE="${XBPS_HOSTDIR}/gocache-muslc" ;;
|
||||||
*) export GOCACHE="${XBPS_HOSTDIR}/gocache-glibc" ;;
|
*) export GOCACHE="${XBPS_HOSTDIR}/gocache-glibc" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# https://go.dev/cl/421935
|
||||||
|
i686*) export CGO_CFLAGS="$CGO_CFLAGS -fno-stack-protector" ;;
|
||||||
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user