mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
增加mips架构编译脚本
This commit is contained in:
parent
eb901a2f73
commit
36e338e9dd
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
|
||||||
Loading…
Reference in New Issue
Block a user