From 0d8cf3053d24cd6f662532aad3e98fa53bb34379 Mon Sep 17 00:00:00 2001 From: giaogiao Date: Fri, 15 Sep 2023 11:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADcgo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bulid.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bulid.sh b/bulid.sh index 9c6eb8b..5cb3866 100644 --- a/bulid.sh +++ b/bulid.sh @@ -45,6 +45,6 @@ do fi echo "Start compiling the system:${array[0]} architecture:${array[1]}" # echo "CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}" - # CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension} - GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension} + CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension} + done