From a5a42b4314ef987f3f4e6ea1865b3912306c7bea Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 13 Jun 2025 10:10:45 -0400 Subject: [PATCH] Fix s390x c10s tuning conditionals for c9s Resolves: RHEL-94282 (cherry picked from commit 29153ba78790ee53ab4dba60cbfe678fa2462f75) --- gcc-toolset-15-gcc.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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