Add darwin-arm64 for Apple M1 devices
This commit is contained in:
parent
b5d8d44c19
commit
1a56a878ac
4
Makefile
4
Makefile
@ -6,6 +6,7 @@ GOFILES=cmd/gost/*
|
||||
|
||||
PLATFORM_LIST = \
|
||||
darwin-amd64 \
|
||||
darwin-arm64 \
|
||||
linux-386 \
|
||||
linux-amd64 \
|
||||
linux-armv5 \
|
||||
@ -30,6 +31,9 @@ all: linux-amd64 darwin-amd64 windows-amd64 # Most used
|
||||
darwin-amd64:
|
||||
GOARCH=amd64 GOOS=darwin $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ $(GOFILES)
|
||||
|
||||
darwin-arm64:
|
||||
GOARCH=arm64 GOOS=darwin $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ $(GOFILES)
|
||||
|
||||
linux-386:
|
||||
GOARCH=386 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ $(GOFILES)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user