mirror of
https://abf.rosa.ru/djam/llvm12.git
synced 2025-02-23 15:22:50 +00:00
Use universal macro installation for both RPM 4 and RPM 5
This commit is contained in:
parent
5a0632db4c
commit
187e0bc82f
1 changed files with 2 additions and 3 deletions
|
@ -271,7 +271,7 @@ as libraries and designed to be loosely-coupled and extensible.
|
|||
%{_datadir}/clang/clang-tidy-diff.py
|
||||
%{_datadir}/clang/run-clang-tidy.py
|
||||
%{_datadir}/clang/run-find-all-symbols.py
|
||||
%{_sys_macros_dir}/clang-gcc-wrapper.macros
|
||||
%{_rpmmacrodir}/*clang-gcc-wrapper*
|
||||
%endif
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
@ -444,8 +444,7 @@ chmod 0755 %{buildroot}%{_bindir}/pollycc %{buildroot}%{_bindir}/pollyc++
|
|||
|
||||
# install clang-gcc-wrapper
|
||||
install -D -m 0644 %{SOURCE1011} %{buildroot}%{_datadir}/clang/
|
||||
mkdir -p %{buildroot}%{_sys_macros_dir}
|
||||
install -m 0644 %{SOURCE1010} %{buildroot}%{_sys_macros_dir}/
|
||||
%install_macro clang-gcc-wrapper %{SOURCE1010}
|
||||
%endif
|
||||
|
||||
# Install libraries used for testing
|
||||
|
|
Loading…
Add table
Reference in a new issue