diff --git a/clang.cfg b/clang.cfg new file mode 100644 index 0000000..bee5a7a --- /dev/null +++ b/clang.cfg @@ -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 diff --git a/files.spec.inc b/files.spec.inc index e8509e2..228a5bc 100644 --- a/files.spec.inc +++ b/files.spec.inc @@ -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} diff --git a/sources.spec.inc b/sources.spec.inc index 1c3a962..b409398 100644 --- a/sources.spec.inc +++ b/sources.spec.inc @@ -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