summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-05-25 04:38:15 -0400
committerLauris BH <lauris@nix.lv>2019-05-25 11:38:14 +0300
commita83c80a00032093034d20cf79116f02fd72419e0 (patch)
treee9e12194c1a1dc5840c82dd72dd37f2a1bb7d078 /Makefile
parent844f9a4bd8c5c35a9dab598442b4b3d58153f026 (diff)
downloadgitea-a83c80a00032093034d20cf79116f02fd72419e0.tar.gz
gitea-a83c80a00032093034d20cf79116f02fd72419e0.zip
Disable arm7 builds (#7037)
* Disable arm7 builds As arm6 works on arm7 platforms with no noticeable performance difference * 386
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 718836be65..cf1a645805 100644
--- a/Makefile
+++ b/Makefile
@@ -335,7 +335,7 @@ release-linux:
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) get -u src.techknowlogick.com/xgo; \
fi
- xgo -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/*' -out gitea-$(VERSION) .
+ xgo -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64,linux/mips64le,linux/mips,linux/mipsle' -out gitea-$(VERSION) .
ifeq ($(CI),drone)
cp /build/* $(DIST)/binaries
endif