Don't require GTS gdb on RHEL9+
Resolves: RHEL-29853
This commit is contained in:
parent
571c60da69
commit
2c794cd3c5
7
gcc.spec
7
gcc.spec
@ -204,7 +204,12 @@ URL: http://gcc.gnu.org
|
|||||||
# Need binutils which support .loc view >= 2.30
|
# Need binutils which support .loc view >= 2.30
|
||||||
# Need binutils which support --generate-missing-build-notes=yes >= 2.31
|
# Need binutils which support --generate-missing-build-notes=yes >= 2.31
|
||||||
BuildRequires: %{?scl_prefix}binutils >= 2.31
|
BuildRequires: %{?scl_prefix}binutils >= 2.31
|
||||||
|
# For VTA guality testing
|
||||||
|
%if 0%{?rhel} >= 9
|
||||||
|
BuildRequires: gdb >= 7.4.50
|
||||||
|
%else
|
||||||
BuildRequires: %{?scl_prefix}gdb >= 7.4.50
|
BuildRequires: %{?scl_prefix}gdb >= 7.4.50
|
||||||
|
%endif
|
||||||
# While gcc doesn't include statically linked binaries, during testing
|
# While gcc doesn't include statically linked binaries, during testing
|
||||||
# -static is used several times.
|
# -static is used several times.
|
||||||
BuildRequires: glibc-static
|
BuildRequires: glibc-static
|
||||||
@ -214,8 +219,6 @@ BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man
|
|||||||
#BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 3.1.0, libmpc-devel >= 0.8.1
|
#BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 3.1.0, libmpc-devel >= 0.8.1
|
||||||
#BuildRequires: python3-devel, /usr/bin/python
|
#BuildRequires: python3-devel, /usr/bin/python
|
||||||
BuildRequires: gcc, gcc-c++, make
|
BuildRequires: gcc, gcc-c++, make
|
||||||
# For VTA guality testing
|
|
||||||
BuildRequires: gdb
|
|
||||||
# Make sure pthread.h doesn't contain __thread tokens
|
# Make sure pthread.h doesn't contain __thread tokens
|
||||||
# Make sure glibc supports stack protector
|
# Make sure glibc supports stack protector
|
||||||
# Make sure glibc supports DT_GNU_HASH
|
# Make sure glibc supports DT_GNU_HASH
|
||||||
|
Loading…
Reference in New Issue
Block a user