mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 22:24:58 +08:00
improve make cross to build arm64 artifacts
This commit is contained in:
parent
a4eae94d71
commit
f1bebac133
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue