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 some conditionals.
Date: Mon, 29 Jun 2026 12:28:06 GMT [thread overview]
Message-ID: <178273608605.1.10950113352668960922.rpms-gcc-c05efdcd3353@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : c05efdcd33536384fb40117debe0bb0ffc185b0f
Author : Jakub Jelinek <jakub@redhat.com>
Date : 2018-07-27T20:25:35+02:00
Stats : +9/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/c05efdcd33536384fb40117debe0bb0ffc185b0f?branch=rhel-f41-base
Log:
Tweak some conditionals.
---
diff --git a/gcc.spec b/gcc.spec
index 14133a8..3f3d306 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -11,12 +11,12 @@
%global _performance_build 1
# Hardening slows the compiler way too much.
%undefine _hardened_build
-%if 0%{?fedora} > 27 || 0%{?rhel} >= 8
+%if 0%{?fedora} > 27 || 0%{?rhel} > 7
# Until annobin is fixed (#1519165).
%undefine _annotated_build
%endif
%global multilib_64_archs sparc64 ppc64 ppc64p7 s390x x86_64
-%if 0%{?rhel} >= 8
+%if 0%{?rhel} > 7
%global build_ada 0
%global build_objc 0
%global build_go 0
@@ -68,7 +68,7 @@
%else
%global build_libitm 0
%endif
-%if 0%{?rhel} >= 8
+%if 0%{?rhel} > 7
%global build_libmpx 0
%else
%ifarch %{ix86} x86_64
@@ -143,7 +143,7 @@ URL: http://gcc.gnu.org
# Need binutils which support -plugin
# Need binutils which support .loc view >= 2.30
# Need binutils which support --generate-missing-build-notes=yes >= 2.31
-%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 29 || 0%{?rhel} > 7
BuildRequires: binutils >= 2.31
%else
BuildRequires: binutils >= 2.24
@@ -213,7 +213,7 @@ Requires: cpp = %{version}-%{release}
# Need binutils that support -plugin
# Need binutils that support .loc view >= 2.30
# Need binutils which support --generate-missing-build-notes=yes >= 2.31
-%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 29 || 0%{?rhel} > 7
Requires: binutils >= 2.31
%else
Requires: binutils >= 2.24
@@ -487,7 +487,7 @@ This package contains shared library with GCC JIT front-end.
%package -n libgccjit-devel
Summary: Support for embedding GCC inside programs and libraries
Group: Development/Libraries
-%if 0%{?fedora} > 27 || 0%{?rhel} >= 8
+%if 0%{?fedora} > 27 || 0%{?rhel} > 7
BuildRequires: python3-sphinx
%else
BuildRequires: python-sphinx
@@ -824,7 +824,7 @@ to NVidia PTX capable devices if available.
%if 0%{?fedora} == 28
%patch12 -p0 -b .mcet~
%endif
-%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 29 || 0%{?rhel} > 7
%patch13 -p0 -b .rh1574936~
%endif
@@ -1033,7 +1033,7 @@ CONFIGURE_OPTS="\
%endif
%ifarch s390 s390x
%if 0%{?rhel} >= 7
-%if 0%{?rhel} >= 8
+%if 0%{?rhel} > 7
--with-arch=zEC12 --with-tune=z13 \
%else
--with-arch=z196 --with-tune=zEC12 \
@@ -1939,7 +1939,7 @@ cd obj-%{gcc_target_platform}
# run the tests.
make %{?_smp_mflags} -k check ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ \
-%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 20 || 0%{?rhel} > 7
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector-strong}'" || :
%else
RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
reply other threads:[~2026-06-29 12:28 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=178273608605.1.10950113352668960922.rpms-gcc-c05efdcd3353@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