13.1.1-4.2
Fix switch to -gdwarf-4 on RHEL 8
This commit is contained in:
parent
64a8b5331d
commit
9810d69a3e
7
gcc.spec
7
gcc.spec
@ -149,7 +149,7 @@ BuildRequires: scl-utils-build
|
|||||||
Summary: GCC version 13
|
Summary: GCC version 13
|
||||||
Name: %{?scl_prefix}gcc
|
Name: %{?scl_prefix}gcc
|
||||||
Version: %{gcc_version}
|
Version: %{gcc_version}
|
||||||
Release: %{gcc_release}.1%{?dist}
|
Release: %{gcc_release}.2%{?dist}
|
||||||
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
||||||
# GCC Runtime Exception.
|
# GCC Runtime Exception.
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||||
@ -743,7 +743,7 @@ echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
|
|||||||
|
|
||||||
%if 0%{?rhel} <= 8
|
%if 0%{?rhel} <= 8
|
||||||
# Default to -gdwarf-4 rather than -gdwarf-5
|
# Default to -gdwarf-4 rather than -gdwarf-5
|
||||||
sed -i '/UInteger Var(dwarf_version)/s/Init(5)/Init(4)/' gcc/common.opt
|
sed -i '/define DWARF_VERSION_DEFAULT/s/5/4/' gcc/defaults.h
|
||||||
sed -i 's/\(version for most targets is \)5 /\14 /' gcc/doc/invoke.texi
|
sed -i 's/\(version for most targets is \)5 /\14 /' gcc/doc/invoke.texi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -2898,6 +2898,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 27 2023 Marek Polacek <polacek@redhat.com> 13.1.1-4.2
|
||||||
|
- fix switch to -gdwarf-4 on RHEL 8 (#2217938)
|
||||||
|
|
||||||
* Tue Jun 20 2023 Marek Polacek <polacek@redhat.com> 13.1.1-4.1
|
* Tue Jun 20 2023 Marek Polacek <polacek@redhat.com> 13.1.1-4.1
|
||||||
- don't require libgccjit-docs (#2216333)
|
- don't require libgccjit-docs (#2216333)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user