From 926a6107ffac2a305e2b6494391a6393cd36584f Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Sun, 17 Dec 2017 20:18:31 +0900 Subject: [PATCH] Makefile: use go env GOPATH for install path As of Go 1.8, allows empty GOPATH environment variable. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4f204b74..891a4e67 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .DEFAULT_GOAL=test UNAME=$(shell uname) PREFIX=github.com/derekparker/delve +GOPATH=$(shell go env GOPATH) GOVERSION=$(shell go version) BUILD_SHA=$(shell git rev-parse HEAD) LLDB_SERVER=$(shell which lldb-server)