From 4a3626bd620abff6b5dc4a1128e0264e7f77a0ef Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 8 Feb 2018 13:14:11 +0100 Subject: [PATCH] go: reenable CGO_ENABLED=1 This reverts commit 7c0d2a48a5280a0be7290ed7f776fc5b8c77c22b. --- srcpkgs/go/template | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/srcpkgs/go/template b/srcpkgs/go/template index aece4c549b7..24171acc07c 100644 --- a/srcpkgs/go/template +++ b/srcpkgs/go/template @@ -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