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
This commit is contained in:
Lars Kistner 2019-08-07 11:05:18 +02:00 committed by Lunny Xiao
parent c832f0eef7
commit 714dcf9dad

View file

@ -22,7 +22,7 @@ BINDATA := modules/{options,public,templates}/bindata.go
GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go") GOFILES := $(shell find . -name "*.go" -type f ! -path "./vendor/*" ! -path "*/bindata.go")
GOFMT ?= gofmt -s GOFMT ?= gofmt -s
GOFLAGS := -i -v GOFLAGS := -v
EXTRA_GOFLAGS ?= EXTRA_GOFLAGS ?=
MAKE_VERSION := $(shell make -v | head -n 1) MAKE_VERSION := $(shell make -v | head -n 1)