go: CGO_ENABLED=0 for all bootstrap builds
This commit is contained in:
parent
b7c8da3564
commit
7c0d2a48a5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue