mirror of https://github.com/go-gitea/gitea.git
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:
parent
c832f0eef7
commit
714dcf9dad
2
Makefile
2
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue