diff --git a/Makefile b/Makefile index 57969f7c4f..35bb58c028 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,14 @@ done) GOARCH=$(shell go env GOARCH) HOST_ARCH=$(shell arch) +SKIP_GO_VERSION_CHECK= -include golang.mk +ifeq ($(SKIP_GO_VERSION_CHECK),) + include golang.mk +endif ifeq ($(ARCH),) - ARCH = $(GOARCH) + ARCH = $(GOARCH) endif ARCH_DIR = arch