go: reenable CGO_ENABLED=1
This reverts commit 7c0d2a48a5280a0be7290ed7f776fc5b8c77c22b.
This commit is contained in:
parent
3f9fbb3970
commit
4a3626bd62
@ -2,7 +2,7 @@
|
|||||||
pkgname=go
|
pkgname=go
|
||||||
_bootstrap_version=1.4.2
|
_bootstrap_version=1.4.2
|
||||||
version=1.9.4
|
version=1.9.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=go
|
wrksrc=go
|
||||||
hostmakedepends="git ca-certificates"
|
hostmakedepends="git ca-certificates"
|
||||||
short_desc="The Go Programming Language"
|
short_desc="The Go Programming Language"
|
||||||
@ -82,20 +82,15 @@ do_build() {
|
|||||||
|
|
||||||
GOOS=linux
|
GOOS=linux
|
||||||
GOARCH=arm
|
GOARCH=arm
|
||||||
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
|
bash make.bash --no-clean
|
||||||
CGO_ENABLED=0 bash make.bash --no-clean
|
|
||||||
|
|
||||||
GOOS=linux
|
GOOS=linux
|
||||||
GOARCH=arm64
|
GOARCH=arm64
|
||||||
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
|
bash make.bash --no-clean
|
||||||
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
|
||||||
msg_normal "Bootstrap for $GOOS/$GOARCH ...\n"
|
bash make.bash --no-clean
|
||||||
CGO_ENABLED=0 bash make.bash --no-clean
|
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user