aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-02-25 15:29:03 +0100
committerGitHub <noreply@github.com>2021-02-25 15:29:03 +0100
commit8f389c5dfae48013d215b1410664c70f31707821 (patch)
treefed7417cd17c74c71a27229646db81bcbc6f6df9
parentedef62e69ec2a54a870530a81b20a3cc7ca71dbd (diff)
downloadgitea-8f389c5dfae48013d215b1410664c70f31707821.tar.gz
gitea-8f389c5dfae48013d215b1410664c70f31707821.zip
Build for only available darwin target (#14771) (#14798)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 20decf16a6..ab5fd9a5dd 100644
--- a/Makefile
+++ b/Makefile
@@ -585,7 +585,7 @@ release-darwin: | $(DIST_DIRS)
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
GO111MODULE=off $(GO) get -u src.techknowlogick.com/xgo; \
fi
- CGO_CFLAGS="$(CGO_CFLAGS)" GO111MODULE=off xgo -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin/*' -out gitea-$(VERSION) .
+ 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) .
ifeq ($(CI),drone)
cp /build/* $(DIST)/binaries
endif