Recover deleted .a files to fix lldb build errors

This commit is contained in:
wk333 2023-10-08 16:02:10 +08:00
parent b57343ea35
commit 65b11eefee

View File

@ -6,7 +6,7 @@
Name: clang
Version: 12.0.1
Release: 3
Release: 4
License: GPL-2.0-only and Apache-2.0 and MIT
Summary: An "LLVM native" C/C++/Objective-C compiler
URL: http://llvm.org
@ -162,8 +162,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
# Create sub-directories in the clang resource directory that will be
@ -220,6 +218,7 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
%files devel
%{_libdir}/*.so
%{_libdir}/*.a
%{_includedir}/clang/
%{_includedir}/clang-c/
%{_libdir}/cmake/*
@ -270,6 +269,9 @@ ln -s clang++ %{buildroot}%{_bindir}/clang++-%{maj_ver}
%{_bindir}/git-clang-format
%changelog
* Sun Oct 08 2023 wangkai <13474090681@163.com> - 12.0.1-4
- Recover deleted .a files to fix lldb build errors
* Tue Jun 13 2023 wangqiang <wangqiang1@kylinos.cn> - 12.0.1-3
- Add compile option -DCLANG_LINK_CLANG_DYLIB=ON, -DBUILD_SHARED_LIBS=OFF