Skip to content

Commit

Permalink
improve make cross to build arm64 artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Sep 18, 2021
1 parent a4eae94 commit f1bebac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ $(GOBIN)/gobump:

.PHONY: cross
cross: $(GOBIN)/goxz CREDITS
goxz -n $(BIN) -pv=v$(VERSION) -build-ldflags=$(BUILD_LDFLAGS) ./cmd/$(BIN)
goxz -n $(BIN) -pv=v$(VERSION) -arch=amd64,arm64 \
-build-ldflags=$(BUILD_LDFLAGS) ./cmd/$(BIN)

$(GOBIN)/goxz:
go install github.com/Songmu/goxz/cmd/goxz@latest
Expand Down

0 comments on commit f1bebac

Please sign in to comment.