configure: Only build the s390-ccw bios if the compiler supports -march=z900
commit2e33c3f848a729ec549062b4ca9064ee6c83216d
authorThomas Huth <thuth@redhat.com>
Mon, 14 Jan 2019 12:52:26 +0000 (14 13:52 +0100)
committerCornelia Huck <cohuck@redhat.com>
Fri, 18 Jan 2019 10:52:01 +0000 (18 11:52 +0100)
treedd1318490ae7616156db1aeb7f748c7de8c7b905
parent37dbd1f4d4805edcd18d94eb202bb3461b3cd52d
configure: Only build the s390-ccw bios if the compiler supports -march=z900

We want to build our s390-ccw bios with -march=z900 so that it also
works with the oldest s390x CPU that we support with TCG. However,
Clang on s390x does not support -march=z900 anymore, so we can not
use this compiler to build the s390-ccw bios. Thus add a proper test
to the configure script to see whether the compiler is usable.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1547470346-18416-1-git-send-email-thuth@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
configure