Skip to content

Commit

Permalink
Add darwin-arm64 for Apple M1 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
soffchen authored and ginuerzh committed Dec 6, 2020
1 parent 4dae496 commit c7eb71e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ GOFILES=cmd/gost/*

PLATFORM_LIST = \
darwin-amd64 \
darwin-arm64 \
linux-386 \
linux-amd64 \
linux-armv5 \
Expand All @@ -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)

Expand Down

0 comments on commit c7eb71e

Please sign in to comment.