summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLars Kistner <LarsKistner@sr4l.de>2019-08-07 11:05:18 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2019-08-07 17:05:18 +0800
commit714dcf9dadf38841bf2ddd2a9e2633e9ad074b74 (patch)
tree3521f41a30b2c41698ce0ecb795f10f42aeb567f /Makefile
parentc832f0eef7a114bc2ee4fae22b959a9ed90e2a18 (diff)
downloadgitea-714dcf9dadf38841bf2ddd2a9e2633e9ad074b74.tar.gz
gitea-714dcf9dadf38841bf2ddd2a9e2633e9ad074b74.zip
remove `-i` flag from GOFLAGS (#7778)
this flag is not needed for Go versions >=1.10 and creates problems while building. see https://github.com/golang/go/issues/27285#issuecomment-424382413
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2c6a6ef72e..3d81ebe606 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ BINDATA := modules/{options,public,templates}/bindata.go
GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go")
GOFMT ?= gofmt -s
-GOFLAGS := -i -v
+GOFLAGS := -v
EXTRA_GOFLAGS ?=
MAKE_VERSION := $(shell make -v | head -n 1)