summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortechknowlogick <matti@mdranta.net>2019-03-15 12:39:02 -0400
committerGitHub <noreply@github.com>2019-03-15 12:39:02 -0400
commite558f83407a207fab645742f1a840bf6b5711c5b (patch)
treeca57db30044f6a05cba3a9d1833551a709da9075 /Makefile
parent4f74bad783c2a5904d72829d2e7ff4eab0bf8ce3 (diff)
downloadgitea-e558f83407a207fab645742f1a840bf6b5711c5b.tar.gz
gitea-e558f83407a207fab645742f1a840bf6b5711c5b.zip
use updated reference of xgo in makefile (#6339)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9a4dbf6ba0..27d74de52c 100644
--- a/Makefile
+++ b/Makefile
@@ -307,7 +307,7 @@ release-dirs:
.PHONY: release-windows
release-windows:
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
- $(GO) get -u github.com/karalabe/xgo; \
+ $(GO) get -u src.techknowlogick.com/xgo; \
fi
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION) .
ifeq ($(CI),drone)
@@ -317,7 +317,7 @@ endif
.PHONY: release-linux
release-linux:
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
- $(GO) get -u github.com/karalabe/xgo; \
+ $(GO) get -u src.techknowlogick.com/xgo; \
fi
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/*' -out gitea-$(VERSION) .
ifeq ($(CI),drone)
@@ -327,7 +327,7 @@ endif
.PHONY: release-darwin
release-darwin:
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
- $(GO) get -u github.com/karalabe/xgo; \
+ $(GO) get -u src.techknowlogick.com/xgo; \
fi
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin/*' -out gitea-$(VERSION) .
ifeq ($(CI),drone)