public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: Change >= 9 to == 9 for now.
@ 2026-06-29 12:29 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2026-06-29 12:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 8ad393378c111f06d981e96aa08b4664e3d40fcd
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2021-04-08T14:17:18+02:00
Stats  : +6/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/8ad393378c111f06d981e96aa08b4664e3d40fcd?branch=rhel-f41-base

Log:
Change >= 9 to == 9 for now.

---
diff --git a/gcc.spec b/gcc.spec
index cd4febb..7509960 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1009,7 +1009,7 @@ CONFIGURE_OPTS="\
 %endif
 %endif
 %ifarch ppc64le
-%if 0%{?rhel} >= 9
+%if 0%{?rhel} == 9
 	--with-cpu-32=power9 --with-tune-32=power9 --with-cpu-64=power9 --with-tune-64=power9 \
 %else
 	--with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \
@@ -1044,8 +1044,12 @@ CONFIGURE_OPTS="\
 %if 0%{?rhel} >= 7
 %if 0%{?rhel} > 7
 %if 0%{?rhel} > 8
+%if 0%{?rhel} == 9
 	--with-arch=z14 --with-tune=z15 \
 %else
+	--with-arch=z13 --with-tune=arch13 \
+%endif
+%else
 	--with-arch=z13 --with-tune=z14 \
 %endif
 %else
@@ -3128,7 +3132,7 @@ end
 %endif
 
 %changelog
-- for %%{rhel} >= 9, default to -march=z14 -mtune=z15 on s390x and
+- for %%{rhel} == 9, default to -march=z14 -mtune=z15 on s390x and
   to -mcpu=power9 -mtune=power9 on ppc64le
 
 * Mon Apr  5 2021 Jakub Jelinek <jakub@redhat.com> 11.0.1-0.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-29 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:29 [rpms/gcc] rhel-f41-base: Change >= 9 to == 9 for now Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox