aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-04-15 17:14:18 +0100
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-04-15 09:14:18 -0700
commitcd7928f180d275882a359057e18ea7a94ceb4259 (patch)
tree0f1fd300c721af582b68d9def730f2e3983fae5c
parentcff0c9fb4c43eb084da2c9c318af8f83ecba3de7 (diff)
downloadcoredns-cd7928f180d275882a359057e18ea7a94ceb4259.tar.gz
coredns-cd7928f180d275882a359057e18ea7a94ceb4259.tar.zst
coredns-cd7928f180d275882a359057e18ea7a94ceb4259.zip
make: default to default go path (#1681)
if GOPATH is not set use $HOME/go which is the current default in Go. Fixes #1642
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5baf80ae1..6b06cd8f2 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ BINARY:=coredns
SYSTEM:=
CHECKS:=check godeps
VERBOSE:=-v
+GOPATH?=$(HOME)/go
all: coredns