mirror of
https://gitee.com/konyshe/goodlink.git
synced 2025-12-24 08:13:00 +08:00
增加arm平台构造
This commit is contained in:
4
Makefile
4
Makefile
@@ -13,6 +13,7 @@ GOBUILD=GO111MODULE=on \
|
||||
|
||||
PLATFORM_LIST = \
|
||||
linux-arm64 \
|
||||
linux-arm \
|
||||
linux-amd64 \
|
||||
windows-amd64-app
|
||||
|
||||
@@ -24,6 +25,9 @@ linux-amd64:
|
||||
linux-arm64:
|
||||
GOARCH=arm64 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
|
||||
|
||||
linux-arm:
|
||||
GOARCH=arm GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
|
||||
|
||||
windows-amd64:
|
||||
GOARCH=amd64 GOOS=windows $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
|
||||
|
||||
|
||||
Reference in New Issue
Block a user