aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2021-02-22 08:44:54 -0500
committerGitHub <noreply@github.com>2021-02-22 08:44:54 -0500
commit1f570f22086adda84e803f97a8dba79aebdde6a7 (patch)
tree335322d9ea4e7d4c8550abb17b43b1239d4bb818 /Makefile
parent00fffdf5df04b7e1d5b0df555e6c215a6ca8d052 (diff)
downloadgitea-1f570f22086adda84e803f97a8dba79aebdde6a7.tar.gz
gitea-1f570f22086adda84e803f97a8dba79aebdde6a7.zip
build for only available darwin target (#14771)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c8461d07f6..9a4f8297b0 100644
--- a/Makefile
+++ b/Makefile
@@ -595,7 +595,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