From 714dcf9dadf38841bf2ddd2a9e2633e9ad074b74 Mon Sep 17 00:00:00 2001 From: Lars Kistner Date: Wed, 7 Aug 2019 11:05:18 +0200 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2c6a6ef72..3d81ebe60 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)