From d9c89c1546f481ee5ddc2e58fd8e1c35bfdc1385 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 12 Feb 2022 19:11:21 +0800 Subject: [PATCH] =?UTF-8?q?+=20Arm64=20=E5=88=B6=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 3 +-- share/const.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 681e0498..11a2d1a1 100644 --- a/Makefile +++ b/Makefile @@ -267,8 +267,7 @@ artifacts: clean # 制品 mkdir -p dist CGO_ENABLED=1 CGO_LDFLAGS="-static" GOOS=linux GOARCH=amd64 go build -v -o dist/yao-${VERSION}-linux-amd64 -# CGO_ENABLED=1 CGO_LDFLAGS="-static" GOOS=linux GOARCH=arm GOARM=7 CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ go build -v -o dist/yao-${VERSION}-linux-arm -# CGO_ENABLED=1 CGO_LDFLAGS="-static" GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ go build -v -o dist/yao-${VERSION}-linux-arm64 + CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -v -o dist/yao-${VERSION}-linux-arm64 mkdir -p dist/release mv dist/yao-*-* dist/release/ diff --git a/share/const.go b/share/const.go index c725b8b6..1b9d3bc8 100644 --- a/share/const.go +++ b/share/const.go @@ -3,7 +3,7 @@ package share // Logs // session -> freeport fix bug // 更新制品目录 -> ui/downloads -// Arm64 制品 +// Arm64 制品 -> test // VERSION 版本号 const VERSION = "0.9.1"