Skip to content

Commit 8f389c5

Browse files
6543techknowlogick
andauthored
Build for only available darwin target (#14771) (#14798)
Co-authored-by: techknowlogick <[email protected]>
1 parent edef62e commit 8f389c5

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

0 commit comments

Comments
 (0)