Pakketten: GOTOOLCHAIN=auto voor go.mod met Go 1.26
@@ -16,6 +16,8 @@ build() {
16
16
root="$(cd "$startdir/../.." && pwd)"
17
17
cd "$root"
18
18
export CGO_ENABLED=0
19
# go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
20
export GOTOOLCHAIN=auto
19
21
export GOFLAGS='-trimpath'
20
22
go build -ldflags='-s -w' -o "$srcdir/bluegit" ./cmd/bluegit
21
23
}
@@ -16,6 +16,8 @@ build() {16
root="$(cd "$startdir/../.." && pwd)"16
root="$(cd "$startdir/../.." && pwd)"17
cd "$root"17
cd "$root"18
export CGO_ENABLED=018
export CGO_ENABLED=019
# go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.20
export GOTOOLCHAIN=auto19
export GOFLAGS='-trimpath'21
export GOFLAGS='-trimpath'20
go build -ldflags='-s -w' -o "$srcdir/bluegit" ./cmd/bluegit22
go build -ldflags='-s -w' -o "$srcdir/bluegit" ./cmd/bluegit21
}23
}@@ -17,6 +17,8 @@ sha256sums=('0000000000000000000000000000000000000000000000000000000000000000')
17
17
build() {
18
18
cd "$srcdir/bluegit-${_commit}"
19
19
export CGO_ENABLED=0
20
# go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
21
export GOTOOLCHAIN=auto
20
22
export GOFLAGS='-trimpath'
21
23
export GOCACHE="${BUILDDIR:-$srcdir}/gocache"
22
24
export GOPATH="${BUILDDIR:-$srcdir}/gopath"
@@ -17,6 +17,8 @@ sha256sums=('0000000000000000000000000000000000000000000000000000000000000000')17
build() {17
build() {18
cd "$srcdir/bluegit-${_commit}"18
cd "$srcdir/bluegit-${_commit}"19
export CGO_ENABLED=019
export CGO_ENABLED=020
# go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.21
export GOTOOLCHAIN=auto20
export GOFLAGS='-trimpath'22
export GOFLAGS='-trimpath'21
export GOCACHE="${BUILDDIR:-$srcdir}/gocache"23
export GOCACHE="${BUILDDIR:-$srcdir}/gocache"22
export GOPATH="${BUILDDIR:-$srcdir}/gopath"24
export GOPATH="${BUILDDIR:-$srcdir}/gopath"@@ -18,6 +18,8 @@ sha256sums=('f40837ad2c6bf3cdea6080b3d257af44d2fcdb78659e59468c8fea5c33b7f338')
18
18
build() {
19
19
cd "$srcdir/bluegit-${_commit}"
20
20
export CGO_ENABLED=0
21
# go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.
22
export GOTOOLCHAIN=auto
21
23
export GOFLAGS='-trimpath'
22
24
# De geïnstalleerde updater zet HOME op /var/lib/bluegit-build. Die map
23
25
# bestaat pas na tmpfiles, dus deze bouw mag daar niet schrijven.
@@ -18,6 +18,8 @@ sha256sums=('f40837ad2c6bf3cdea6080b3d257af44d2fcdb78659e59468c8fea5c33b7f338')18
build() {18
build() {19
cd "$srcdir/bluegit-${_commit}"19
cd "$srcdir/bluegit-${_commit}"20
export CGO_ENABLED=020
export CGO_ENABLED=021
# go.mod vraagt Go 1.26; een oudere Arch-go haalt die toolchain zelf op.22
export GOTOOLCHAIN=auto21
export GOFLAGS='-trimpath'23
export GOFLAGS='-trimpath'22
# De geïnstalleerde updater zet HOME op /var/lib/bluegit-build. Die map24
# De geïnstalleerde updater zet HOME op /var/lib/bluegit-build. Die map23
# bestaat pas na tmpfiles, dus deze bouw mag daar niet schrijven.25
# bestaat pas na tmpfiles, dus deze bouw mag daar niet schrijven.