diff options
author | Thomas Boerger <thomas@webhippie.de> | 2017-02-02 04:56:08 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-02 11:56:08 +0800 |
commit | ea8c8cdaf358a3cc96fbf749d50a9b15a6f3ca41 (patch) | |
tree | dad82dc1660de7e1684a142322983e006a7f9009 /Makefile | |
parent | 79ab69fe30b9e7779186c1ffde48e5186a0f578d (diff) | |
download | gitea-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |