From 6f7247952a95c308bfc3364083ecad3b019691d2 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 9 Sep 2022 21:54:39 -0300 Subject: [PATCH] =?UTF-8?q?build.sh:=20Arreglar=20compilaci=C3=B3n=20est?= =?UTF-8?q?=C3=A1tica?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index dc5fdae..6bd39b4 100755 --- a/build.sh +++ b/build.sh @@ -1,2 +1,2 @@ #!/bin/sh -GOOS=linux GOARCH=amd64 LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" go build +CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' .