mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 12:06:49 +00:00
make: add ability to skip go version check
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>
This commit is contained in:
parent
c0551de093
commit
ab43e2accb
5
Makefile
5
Makefile
@ -14,8 +14,11 @@ done)
|
|||||||
|
|
||||||
GOARCH=$(shell go env GOARCH)
|
GOARCH=$(shell go env GOARCH)
|
||||||
HOST_ARCH=$(shell arch)
|
HOST_ARCH=$(shell arch)
|
||||||
|
SKIP_GO_VERSION_CHECK=
|
||||||
|
|
||||||
include golang.mk
|
ifeq ($(SKIP_GO_VERSION_CHECK),)
|
||||||
|
include golang.mk
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),)
|
ifeq ($(ARCH),)
|
||||||
ARCH = $(GOARCH)
|
ARCH = $(GOARCH)
|
||||||
|
Loading…
Reference in New Issue
Block a user