From fb2f71a9b076fa7321455f2b9a15986e2bc1588e Mon Sep 17 00:00:00 2001 From: Lars Kistner Date: Wed, 7 Aug 2019 10:12:45 +0200 Subject: [PATCH] remove `-i` flag from GOFLAGS 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 2c6a6ef72ee2a..3d81ebe606dff 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)