mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/flux: fix build with go 1.22
This commit is contained in:
parent
1202aab4d7
commit
a57fee869a
@ -15,10 +15,14 @@ subpackages="
|
||||
source="https://github.com/fluxcd/flux2/archive/v$pkgver/flux-$pkgver.tar.gz"
|
||||
builddir="$srcdir/flux2-$pkgver"
|
||||
|
||||
export CGO_ENABLED=0
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
||||
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
||||
case "$CARCH" in
|
||||
aarch64|ppc64le|x86_64)
|
||||
export CGO_ENABLED=0
|
||||
;;
|
||||
esac
|
||||
|
||||
# secfixes:
|
||||
# 0.36.0-r0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user