mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-13 13:46:46 +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 :=
|
CPUFEATURES :=
|
||||||
|
|
||||||
QEMUCMD := qemu-system-s390x
|
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