go: CGO_ENABLED=0 for all bootstrap builds

This commit is contained in:
Jürgen Buchmüller 2018-01-19 21:56:00 +01:00
parent b7c8da3564
commit 7c0d2a48a5
1 changed files with 8 additions and 3 deletions

View File

@ -82,15 +82,20 @@ do_build() {
GOOS=linux
GOARCH=arm
bash make.bash --no-clean
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
CGO_ENABLED=0 bash make.bash --no-clean
GOOS=linux
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 arch in 386 amd64; do
GOARCH=$arch
GOOS=$os
bash make.bash --no-clean
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
CGO_ENABLED=0 bash make.bash --no-clean
done
done