runtime: Use CC=gcc on Fedora s390x
This was fixed for the Go agent back in
but is also
required for the runtime.
Fixes:
@@ -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
