From edd4d6eadbf020ac00affd0c2a418764a25be792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Mon, 25 May 2020 01:25:05 +0200 Subject: [PATCH] Disable cgo in install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 494ec8a8..3b417e3a 100755 --- a/install.sh +++ b/install.sh @@ -6,4 +6,4 @@ Tag=$(git describe --tags) Commit=$(git rev-parse --short HEAD) Date=$(date +'%Y-%m-%dT%TZ') -go install -ldflags "-s -w -X $Import.Tag=$Tag -X $Import.Commit=$Commit -X $Import.Date=$Date" +CGO_ENABLED=0 go install -ldflags "-s -w -X $Import.Tag=$Tag -X $Import.Commit=$Commit -X $Import.Date=$Date"