Recover deleted .a files to fix lldb build errors
(cherry picked from commit 96b339dde26022ba80df063291229260e5623164)
This commit is contained in:
parent
f475264626
commit
e3af9c5ecd
@ -6,7 +6,7 @@
|
||||
|
||||
Name: clang
|
||||
Version: 10.0.1
|
||||
Release: 5
|
||||
Release: 6
|
||||
License: NCSA
|
||||
Summary: An "LLVM native" C/C++/Objective-C compiler
|
||||
URL: http://llvm.org
|
||||
@ -151,8 +151,6 @@ rm -vf %{buildroot}%{_datadir}/clang/clang-format-sublime.py*
|
||||
|
||||
rm -Rvf %{buildroot}%{_pkgdocdir}
|
||||
|
||||
rm -Rvf %{buildroot}%{_libdir}/*.a
|
||||
|
||||
rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
|
||||
|
||||
ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
||||
@ -197,6 +195,7 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
||||
|
||||
%files devel
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_includedir}/clang/
|
||||
%{_includedir}/clang-c/
|
||||
%{_libdir}/cmake/*
|
||||
@ -241,6 +240,9 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
|
||||
%{_bindir}/git-clang-format
|
||||
|
||||
%changelog
|
||||
* Sun Oct 08 2023 wangkai <13474090681@163.com> - 10.0.1-6
|
||||
- Recover deleted .a files to fix lldb build errors
|
||||
|
||||
* Tue Jun 13 2023 wangqiang <wangqiang1@kylinos.cn> - 10.0.1-5
|
||||
- Add compile option -DCLANG_LINK_CLANG_DYLIB=ON, -DBUILD_SHARED_LIBS=OFF
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user