diff options
author | 6543 <6543@obermui.de> | 2021-02-25 15:29:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 15:29:03 +0100 |
commit | 8f389c5dfae48013d215b1410664c70f31707821 (patch) | |
tree | fed7417cd17c74c71a27229646db81bcbc6f6df9 | |
parent | edef62e69ec2a54a870530a81b20a3cc7ca71dbd (diff) | |
download | gitea-8f389c5dfae48013d215b1410664c70f31707821.tar.gz gitea-8f389c5dfae48013d215b1410664c70f31707821.zip |
Build for only available darwin target (#14771) (#14798)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |