mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 07:19:37 +00:00
增加mips架构编译脚本
This commit is contained in:
6
build_mips.sh
Normal file
6
build_mips.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
go version
|
||||
mips-linux-musl-gcc -v
|
||||
go env -w GOPROXY=https://goproxy.cn,direct
|
||||
go env -w GO111MODULE=auto
|
||||
go mod tidy
|
||||
GOOS=linux GOARCH=mips GOMIPS=softfloat CGO_ENABLED=1 CC=mips-linux-musl-gcc CXX=mips-linux-musl-g++ go build -ldflags "-s -w" -o zerobot
|
||||
Reference in New Issue
Block a user