From 7c0d2a48a5280a0be7290ed7f776fc5b8c77c22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 19 Jan 2018 21:56:00 +0100 Subject: [PATCH] go: CGO_ENABLED=0 for all bootstrap builds --- srcpkgs/go/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/go/template b/srcpkgs/go/template index 5ae4cf98e3e..97dcbe3470a 100644 --- a/srcpkgs/go/template +++ b/srcpkgs/go/template @@ -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