mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 22:43:05 +00:00
runtime: Use CC=gcc on Fedora s390x
This was fixed for the Go agent back in https://github.com/kata-containers/osbuilder/issues/217, but is also required for the runtime. Fixes: #1973 Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
parent
da2d9ab813
commit
7593ebf947
@ -11,3 +11,10 @@ MACHINEACCELERATORS :=
|
||||
CPUFEATURES :=
|
||||
|
||||
QEMUCMD := qemu-system-s390x
|
||||
|
||||
# See https://github.com/kata-containers/osbuilder/issues/217
|
||||
FEDORA_LIKE = $(shell grep -E "\<fedora\>" /etc/os-release 2> /dev/null)
|
||||
ifneq (,$(FEDORA_LIKE))
|
||||
CC := gcc
|
||||
export CC
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user