From: Christian Borntraeger Date: Tue, 13 Oct 2015 13:10:46 +0000 (+0200) Subject: pc-bios/s390-ccw: build for z900 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7619562a643a472fab8ad6a173a37e046a2fc671;p=qemu.git pc-bios/s390-ccw: build for z900 Newer distributions have an architecture level set to z9, z196 or similar - also as default option for the compiler. We should build the bios for z900 to allow it to run with all 64bit CPUs. This will become more important as soon as QEMU/KVM does support CPU models. Signed-off-by: Christian Borntraeger Acked-by: Cornelia Huck Reviewed-by: David Hildenbrand Reviewed-By: Sascha Silbe Signed-off-by: Cornelia Huck --- diff --git a/pc-bios/s390-ccw/Makefile b/pc-bios/s390-ccw/Makefile index 15e423274f..11c5dd4799 100644 --- a/pc-bios/s390-ccw/Makefile +++ b/pc-bios/s390-ccw/Makefile @@ -10,7 +10,7 @@ $(call set-vpath, $(SRC_PATH)/pc-bios/s390-ccw) .PHONY : all clean build-all OBJECTS = start.o main.o bootmap.o sclp-ascii.o virtio.o -CFLAGS += -fPIE -fno-stack-protector -ffreestanding +CFLAGS += -fPIE -fno-stack-protector -ffreestanding -march=z900 CFLAGS += -fno-delete-null-pointer-checks -msoft-float LDFLAGS += -Wl,-pie -nostdlib