From 9fdceeb2b29e111ed7e06001fe192c3592372a81 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 15 Apr 2019 23:54:25 +0000 Subject: [PATCH] use GO envvar throughout in Makefile Signed-off-by: Lokesh Mandvekar --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e452211..d7091c99 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ ifeq ($(DEBUG), 1) override GOGCFLAGS += -N -l endif -ifeq ($(shell go env GOOS), linux) +ifeq ($(shell $(GO) env GOOS), linux) GO_DYN_FLAGS="-buildmode=pie" endif