mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-17 15:38:00 +00:00
Makefile: Set arch regardless of GOPATH state
Architecture-dependent settings were not being populated when GOPATH was set. This change ensures they are always set. Fixes #1169 Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
parent
6f2c036601
commit
a02c39efd0
2
Makefile
2
Makefile
@ -23,7 +23,6 @@ ifeq ($(SKIP_GO_VERSION_CHECK),)
|
|||||||
include golang.mk
|
include golang.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(GOPATH),)
|
|
||||||
GOARCH=$(shell go env GOARCH)
|
GOARCH=$(shell go env GOARCH)
|
||||||
ifeq ($(ARCH),)
|
ifeq ($(ARCH),)
|
||||||
ARCH = $(GOARCH)
|
ARCH = $(GOARCH)
|
||||||
@ -37,7 +36,6 @@ ifneq ($(GOPATH),)
|
|||||||
|
|
||||||
# Load architecture-dependent settings
|
# Load architecture-dependent settings
|
||||||
include $(ARCH_FILE)
|
include $(ARCH_FILE)
|
||||||
endif
|
|
||||||
|
|
||||||
PROJECT_TYPE = kata
|
PROJECT_TYPE = kata
|
||||||
PROJECT_NAME = Kata Containers
|
PROJECT_NAME = Kata Containers
|
||||||
|
Loading…
Reference in New Issue
Block a user