public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: Tweak defaults for %%{rhel} >= 9.
Date: Mon, 29 Jun 2026 12:29:14 GMT [thread overview]
Message-ID: <178273615436.1.1736694466063983898.rpms-gcc-c38b60d6f82a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : c38b60d6f82afb878930cc5afe6f9bba03f129ed
Author : Jakub Jelinek <jakub@redhat.com>
Date : 2021-04-08T14:10:22+02:00
Stats : +8/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/c38b60d6f82afb878930cc5afe6f9bba03f129ed?branch=rhel-f41-base
Log:
Tweak defaults for %%{rhel} >= 9.
---
diff --git a/gcc.spec b/gcc.spec
index 7ed9a7c..cd4febb 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1009,8 +1009,12 @@ CONFIGURE_OPTS="\
%endif
%endif
%ifarch ppc64le
+%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 \
%endif
+%endif
%ifarch ppc
--build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
%endif
@@ -1040,7 +1044,7 @@ CONFIGURE_OPTS="\
%if 0%{?rhel} >= 7
%if 0%{?rhel} > 7
%if 0%{?rhel} > 8
- --with-arch=z13 --with-tune=arch13 \
+ --with-arch=z14 --with-tune=z15 \
%else
--with-arch=z13 --with-tune=z14 \
%endif
@@ -3124,6 +3128,9 @@ end
%endif
%changelog
+- 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
- update from trunk
- PRs ada/99802, analyzer/93695, analyzer/99044, analyzer/99716,
reply other threads:[~2026-06-29 12:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178273615436.1.1736694466063983898.rpms-gcc-c38b60d6f82a@fedoraproject.org \
--to=jakub@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox