mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 08:17:37 +00:00
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:
parent
432296ae7a
commit
28b2c629e3
@ -13,8 +13,8 @@ CPUFEATURES :=
|
|||||||
QEMUCMD := qemu-system-s390x
|
QEMUCMD := qemu-system-s390x
|
||||||
|
|
||||||
# See https://github.com/kata-containers/osbuilder/issues/217
|
# See https://github.com/kata-containers/osbuilder/issues/217
|
||||||
FEDORA_LIKE = $(shell grep -E "\<fedora\>" /etc/os-release 2> /dev/null)
|
NEEDS_CC_SETTING = $(shell grep -E "\<(fedora|suse)\>" /etc/os-release 2> /dev/null)
|
||||||
ifneq (,$(FEDORA_LIKE))
|
ifneq (,$(NEEDS_CC_SETTING))
|
||||||
CC := gcc
|
CC := gcc
|
||||||
export CC
|
export CC
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user