diff --git a/clang.spec b/clang.spec index bb39a4e85c2c5e5596c3abb287a5b19f0376a150..a61c8079746de401704b52d0d65a1b74b49c66c9 100644 --- a/clang.spec +++ b/clang.spec @@ -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 - 12.0.1-3 - Add compile option -DCLANG_LINK_CLANG_DYLIB=ON, -DBUILD_SHARED_LIBS=OFF