Skip to content
  • Thomas Huth's avatar
    a5b2afd5
    pc-bios/s390-ccw: Allow building with Clang, too · a5b2afd5
    Thomas Huth authored
    
    
    Clang unfortunately does not support generating code for the z900
    architecture level and starts with the z10 instead. Thus to be able
    to support compiling with Clang, we have to check for the supported
    compiler flags. The disadvantage is of course that the bios image
    will only run with z10 guest CPUs upwards (which is what most people
    use anyway), so just in case let's also emit a warning in that case
    (we will continue to ship firmware images that have been pre-built
    with GCC in future releases, so this should not impact normal users,
    too).
    
    Message-Id: <20210502174836.838816-5-thuth@redhat.com>
    Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
    Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
    a5b2afd5
    pc-bios/s390-ccw: Allow building with Clang, too
    Thomas Huth authored
    
    
    Clang unfortunately does not support generating code for the z900
    architecture level and starts with the z10 instead. Thus to be able
    to support compiling with Clang, we have to check for the supported
    compiler flags. The disadvantage is of course that the bios image
    will only run with z10 guest CPUs upwards (which is what most people
    use anyway), so just in case let's also emit a warning in that case
    (we will continue to ship firmware images that have been pre-built
    with GCC in future releases, so this should not impact normal users,
    too).
    
    Message-Id: <20210502174836.838816-5-thuth@redhat.com>
    Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
    Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Loading