mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 02:34:52 +00:00
Install clang config file on f38
This commit is contained in:
parent
b3de0f3616
commit
3ab7b31fc7
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
# Drop the following option after debugedit adds support to DWARF-5:
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28728
|
||||
-gdwarf-4
|
||||
-gdwarf-4 -g0
|
||||
|
|
|
@ -180,6 +180,11 @@ chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
|
|||
# populated by other packages
|
||||
mkdir -p %{buildroot}%{install_libdir}/clang/%{maj_ver}/{include,lib,share}/
|
||||
|
||||
%if 0%{?fedora} == 38
|
||||
# Install config file
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
|
||||
mv %{SOURCE2006} %{buildroot}%{_sysconfdir}/%{name}/%{_target_platform}.cfg
|
||||
%endif
|
||||
|
||||
%if %{without compat_build}
|
||||
# Add a symlink in /usr/bin to clang-format-diff
|
||||
|
|
|
@ -9,6 +9,7 @@ Source1006: release-keys.asc
|
|||
%if %{without compat_build}
|
||||
Source2005: macros.%{pkg_name_clang}
|
||||
%endif
|
||||
Source2006: clang.cfg
|
||||
|
||||
Source2006: clang.cfg
|
||||
|
||||
|
|
Loading…
Reference in a new issue