From ec851df6675e1360c24c6a3efc9756c7f60e8c05 Mon Sep 17 00:00:00 2001 From: Dan Horák Date: Jan 17 2023 09:20:15 +0000 Subject: [PATCH 1/2] move the baseline arch to z13 for s390x in F-38+ https://fedoraproject.org/wiki/Changes/z13BaselineForIBMZ --- diff --git a/gcc.spec b/gcc.spec index 693e51c..8a66d53 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1143,7 +1143,11 @@ CONFIGURE_OPTS="\ %endif %else %if 0%{?fedora} >= 26 +%if 0%{?fedora} >= 38 + --with-arch=z13 --with-tune=z14 \ +%else --with-arch=zEC12 --with-tune=z13 \ +%endif %else --with-arch=z9-109 --with-tune=z10 \ %endif From 0d926ffb44e39c12baf68ef3e8c26612c44a877b Mon Sep 17 00:00:00 2001 From: Dan Horák Date: Jan 17 2023 09:31:20 +0000 Subject: [PATCH 2/2] drop the ancient defaults for s390x --- diff --git a/gcc.spec b/gcc.spec index 8a66d53..130f4a8 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1142,15 +1142,11 @@ CONFIGURE_OPTS="\ --with-arch=z196 --with-tune=zEC12 \ %endif %else -%if 0%{?fedora} >= 26 %if 0%{?fedora} >= 38 --with-arch=z13 --with-tune=z14 \ %else --with-arch=zEC12 --with-tune=z13 \ %endif -%else - --with-arch=z9-109 --with-tune=z10 \ -%endif %endif --enable-decimal-float \ %endif