!67 恢复删除的.a文件以修复lldb构建失败

From: @wk333 
Reviewed-by: @cf-zhao 
Signed-off-by: @cf-zhao
This commit is contained in:
openeuler-ci-bot 2023-10-12 08:14:51 +00:00 committed by Gitee
commit 5c82d3f812
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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