Merge pull request #1974 from Jakob-Naucke/fix-cc-fedora-s390x

Update CC=gcc setting for Fedora s390x
This commit is contained in:
Fabiano Fidêncio
2021-06-11 00:31:51 +02:00
committed by GitHub
2 changed files with 7 additions and 4 deletions

View File

@@ -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