Spec File: Really fix building with GTS-13 gcc.

Resolves: #2225130
This commit is contained in:
Nick Clifton 2023-08-03 10:09:38 +01:00
parent 210c3926e1
commit b9c952a32c

View File

@ -9,7 +9,7 @@ BuildRequires: scl-utils-build
Summary: A GNU collection of binary utilities
Name: %{?scl_prefix}binutils
Version: 2.40
Release: 12%{?dist}
Release: 13%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -300,15 +300,11 @@ BuildRequires: clang compiler-rt
# that will be used by consumers of GTS binutils.
# Note - during GTS bootstrap these have to be changed to the systemOS versions.
BuildRequires: %{?scl_prefix}gcc
BuildRequires: %{?scl_prefix}annobin-plugin-gcc
BuildRequires: %{?scl_prefix}gcc-c++
%define gcc_for_libraries %{?_scl_root}/usr/bin/gcc
%define gxx_for_libraries %{?_scl_root}/usr/bin/g++
BuildRequires: gcc
BuildRequires: gcc-c++
%define gcc_for_libraries gcc
%define gxx_for_libraries g++
# Note - during GTS bootstrap it may be necessary to build the binutils without
# annobin annotations.
# %%undefine _annotated_build
@ -1280,6 +1276,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Thu Aug 03 2023 Nick Clifton <nickc@redhat.com> - 2.40-13
- Spec File: Really fix building with GTS-13 gcc. (#2217819) (#2225130)
* Mon Jun 26 2023 Nick Clifton <nickc@redhat.com> - 2.40-12
- Spec File: Enable building with GTS-13 gcc. (#2217819)
- Spec File: Sync version number with c8s.