Restore DWARF 4 config file for Fedora 38

This is a port of 74b8bb0397
This commit is contained in:
Nikita Popov 2024-01-22 14:03:22 +00:00 committed by Timm Bäder
parent 32c3bcc36f
commit d0e5867bd7
3 changed files with 8 additions and 0 deletions

3
clang.cfg Normal file
View file

@ -0,0 +1,3 @@
# Drop the following option after debugedit adds support to DWARF-5:
# https://sourceware.org/bugzilla/show_bug.cgi?id=28728
-gdwarf-4

View file

@ -126,6 +126,9 @@
%files -n %{pkg_name_clang}-libs
%{install_prefix}/lib/clang/%{maj_ver}/include/*
%{install_libdir}/*.so.*
%if 0%{?fedora} == 38
%{_sysconfdir}/%{name}/%{_target_platform}.cfg
%endif
%files -n %{pkg_name_clang}-devel
%if %{without compat_build}

View file

@ -10,6 +10,8 @@ Source1006: release-keys.asc
Source2005: macros.%{pkg_name_clang}
%endif
Source2006: clang.cfg
# Sources we use to split up the main spec file in sections so that we can more
# easily see what specfile sections are touched by a patch.
Source1000: version.spec.inc