Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
make: add ability to skip go version check
Browse files Browse the repository at this point in the history
Add the ability to skip checking the go version, by passing to make the
variable SKIP_GO_VERSION_CHECK=1

Fixes: #916

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
  • Loading branch information
marcov committed Nov 16, 2018
1 parent c0551de commit ab43e2a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Expand Up @@ -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
Expand Down

0 comments on commit ab43e2a

Please sign in to comment.