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"