From 177db5daa09ee60751a28860f13f24da9d2b836b Mon Sep 17 00:00:00 2001 From: Norwin Roosen Date: Mon, 10 May 2021 23:01:27 +0200 Subject: [PATCH] make release: enable apple M1 aka darwin/arm64 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e79c0f3..5149813 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,7 @@ release-os: @hash gox > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ cd /tmp && $(GO) get -u github.com/mitchellh/gox; \ fi - CGO_ENABLED=0 gox -verbose -cgo=false -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -osarch='!darwin/386 !darwin/arm64 !darwin/arm' -os="windows linux darwin" -arch="386 amd64 arm arm64" -output="$(DIST)/release/tea-$(VERSION)-{{.OS}}-{{.Arch}}" + CGO_ENABLED=0 gox -verbose -cgo=false -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -osarch='!darwin/386 !darwin/arm' -os="windows linux darwin" -arch="386 amd64 arm arm64" -output="$(DIST)/release/tea-$(VERSION)-{{.OS}}-{{.Arch}}" .PHONY: release-compress release-compress: -- 2.40.1