summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2017-02-02 04:56:08 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-02-02 11:56:08 +0800
commitea8c8cdaf358a3cc96fbf749d50a9b15a6f3ca41 (patch)
treedad82dc1660de7e1684a142322983e006a7f9009 /Makefile
parent79ab69fe30b9e7779186c1ffde48e5186a0f578d (diff)
downloadgitea-ea8c8cdaf358a3cc96fbf749d50a9b15a6f3ca41.tar.gz
gitea-ea8c8cdaf358a3cc96fbf749d50a9b15a6f3ca41.zip
Fix master builds on mips* again (#815)
* Use local folder for xgo * Always do crosscompile and testing to fail early * Added mips* values for boltdb In order to get master building again I have applied these 2 additional files to boltdb. This should get dropped when https://github.com/boltdb/bolt/issues/656 gets solved.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 33b187764e..f81989acc5 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ release-build:
@which xgo > /dev/null; if [ $$? -ne 0 ]; then \
go get -u github.com/karalabe/xgo; \
fi
- xgo -dest $(DIST)/binaries -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -targets '$(TARGETS)' -out $(EXECUTABLE)-$(VERSION) $(IMPORT)
+ xgo -dest $(DIST)/binaries -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -targets '$(TARGETS)' -out $(EXECUTABLE)-$(VERSION) .
ifeq ($(CI),drone)
mv /build/* $(DIST)/binaries
endif