diff --git a/gcc-toolset-15-gcc.spec b/gcc-toolset-15-gcc.spec index 4b177f1..b2f20c6 100644 --- a/gcc-toolset-15-gcc.spec +++ b/gcc-toolset-15-gcc.spec @@ -1037,11 +1037,13 @@ CONFIGURE_OPTS="\ %if 0%{?rhel} > 8 %if 0%{?rhel} >= 10 --with-arch=z14 --with-tune=z16 \ -%elif 0%{?rhel} >= 9 +%else +%if 0%{?rhel} == 9 --with-arch=z14 --with-tune=z15 \ %else --with-arch=z13 --with-tune=arch13 \ %endif +%endif %else --with-arch=z13 --with-tune=z14 \ %endif