mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
common/environment/build-style/go.sh: fix internal linking on i686
This commit is contained in:
parent
fc49c6e396
commit
5912b3f5b7
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue