Skip to content

Commit 1f570f2

Browse files
build for only available darwin target (#14771)
1 parent 00fffdf commit 1f570f2

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
@@ -595,7 +595,7 @@ release-darwin: | $(DIST_DIRS)
595595
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
596596
GO111MODULE=off $(GO) get -u src.techknowlogick.com/xgo; \
597597
fi
598-
CGO_CFLAGS="$(CGO_CFLAGS)" GO111MODULE=off xgo -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin/*' -out gitea-$(VERSION) .
598+
CGO_CFLAGS="$(CGO_CFLAGS)" GO111MODULE=off xgo -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin/amd64' -out gitea-$(VERSION) .
599599
ifeq ($(CI),drone)
600600
cp /build/* $(DIST)/binaries
601601
endif

0 commit comments

Comments
 (0)