go: reenable CGO_ENABLED=1

This reverts commit 7c0d2a48a5.
This commit is contained in:
Michael Gehring 2018-02-08 13:14:11 +01:00
parent 3f9fbb3970
commit 4a3626bd62
1 changed files with 4 additions and 9 deletions

View File

@ -2,7 +2,7 @@
pkgname=go
_bootstrap_version=1.4.2
version=1.9.4
revision=1
revision=2
wrksrc=go
hostmakedepends="git ca-certificates"
short_desc="The Go Programming Language"
@ -82,20 +82,15 @@ do_build() {
GOOS=linux
GOARCH=arm
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
CGO_ENABLED=0 bash make.bash --no-clean
bash make.bash --no-clean
GOOS=linux
GOARCH=arm64
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
CGO_ENABLED=0 bash make.bash --no-clean
bash make.bash --no-clean
for os in darwin freebsd linux windows; do
for arch in 386 amd64; do
GOARCH=$arch
GOOS=$os
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
CGO_ENABLED=0 bash make.bash --no-clean
bash make.bash --no-clean
done
done