1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00

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")
GOFMT ?= gofmt -s
GOFLAGS := -i -v
GOFLAGS := -v
EXTRA_GOFLAGS ?=
MAKE_VERSION := $(shell make -v | head -n 1)