runtime: Use CC=gcc on SUSE s390x too

This setting is required, as it is on Fedora-likes.

Fixes: #2167
Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
Jakob Naucke 2021-07-01 16:28:51 +02:00
parent 432296ae7a
commit 28b2c629e3
No known key found for this signature in database
GPG Key ID: 45FA1C7D310C0EBE

View File

@ -13,8 +13,8 @@ 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))
NEEDS_CC_SETTING = $(shell grep -E "\<(fedora|suse)\>" /etc/os-release 2> /dev/null)
ifneq (,$(NEEDS_CC_SETTING))
CC := gcc
export CC
endif