mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 18:13:50 +02:00
go: CGO_ENABLED=0 for all bootstrap builds
This commit is contained in:
parent
b7c8da3564
commit
7c0d2a48a5
1 changed files with 8 additions and 3 deletions
|
@ -82,15 +82,20 @@ do_build() {
|
||||||
|
|
||||||
GOOS=linux
|
GOOS=linux
|
||||||
GOARCH=arm
|
GOARCH=arm
|
||||||
bash make.bash --no-clean
|
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
|
||||||
|
CGO_ENABLED=0 bash make.bash --no-clean
|
||||||
|
|
||||||
GOOS=linux
|
GOOS=linux
|
||||||
GOARCH=arm64
|
GOARCH=arm64
|
||||||
bash make.bash --no-clean
|
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
|
||||||
|
CGO_ENABLED=0 bash make.bash --no-clean
|
||||||
|
|
||||||
for os in darwin freebsd linux windows; do
|
for os in darwin freebsd linux windows; do
|
||||||
for arch in 386 amd64; do
|
for arch in 386 amd64; do
|
||||||
GOARCH=$arch
|
GOARCH=$arch
|
||||||
GOOS=$os
|
GOOS=$os
|
||||||
bash make.bash --no-clean
|
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
|
||||||
|
CGO_ENABLED=0 bash make.bash --no-clean
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue