- Avoid using a %gcc macro to support using gcc 4.8 for building

on SLE11.  Use the regular language compilers for testing.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=378
This commit is contained in:
Richard Biener 2024-03-20 10:38:11 +00:00 committed by Git OBS Bridge
parent 16c32eb249
commit 93003f4505
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 20 09:53:08 UTC 2024 - Richard Biener <rguenther@suse.com>
- Avoid using a %gcc macro to support using gcc 4.8 for building
on SLE11. Use the regular language compilers for testing.
-------------------------------------------------------------------
Tue Feb 27 11:24:51 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -397,12 +397,11 @@ Patch2130: gdb-symtab-fix-dw_tag_inlined_subroutine-entries-in-.patch
BuildRequires: bison
BuildRequires: flex
%if 0%{suse_version} > 1110
%define gcc gcc
BuildRequires: gcc-c++
%else
%define gcc gcc48
BuildRequires: gcc48
BuildRequires: gcc48-c++
%endif
BuildRequires: %{gcc}
BuildRequires: %{gcc}-c++
BuildRequires: gettext
BuildRequires: glibc-devel
%if 0%{suse_version} > 1110 && 0%{suse_version} < 1330
@ -527,12 +526,12 @@ BuildRequires: sharutils
# unresolvable: conflict for providers of libquadmath0
# needed by libgfortran3
# (provider libquadmath0-gcc5 is in conflict with libquadmath0)
BuildRequires: %{gcc}-fortran
BuildRequires: gcc-fortran
%endif
BuildRequires: %{gcc}-objc
BuildRequires: gcc-objc
%ifarch %ada_arch
BuildRequires: %{gcc}-ada
BuildRequires: gcc-ada
%endif
%define supported_32bit_arch x86_64 ppc64
@ -543,11 +542,11 @@ BuildRequires: %{gcc}-ada
%if 0%{suse_version} >= 1330
# Older distros miss this pseudo package, the Ada
# testsuite won't work completely
BuildRequires: %{gcc}-ada-32bit
BuildRequires: gcc-ada-32bit
%endif
%if 0%{suse_version} > 1110
BuildRequires: %{gcc}-c++-32bit
BuildRequires: gcc-c++-32bit
%endif
%if 0%{suse_version} >= 1210 && 0%{suse_version} != 1315