Skip to content

Commit b175791

Browse files
build darwin on arm64 platforms (#14951)
fix #14945
1 parent a13c801 commit b175791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ release-darwin: | $(DIST_DIRS)
596596
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
597597
$(GO) install src.techknowlogick.com/xgo@latest; \
598598
fi
599-
CGO_CFLAGS="$(CGO_CFLAGS)" xgo -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin-10.12/amd64' -out gitea-$(VERSION) .
599+
CGO_CFLAGS="$(CGO_CFLAGS)" xgo -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin-10.12/amd64,darwin-10.12/arm64' -out gitea-$(VERSION) .
600600
ifeq ($(CI),drone)
601601
cp /build/* $(DIST)/binaries
602602
endif

0 commit comments

Comments
 (0)