Use wildcard for sanitizer ignore/abi lists

The list of supported sanitizers differs per target, and depending
on that some of these files may or may not be present. Use a
wildcard rather than explicitly listing this out.
This commit is contained in:
Nikita Popov 2024-05-22 09:23:29 +02:00 committed by Timm Bäder
parent 1846c73b59
commit c954f67bf3

View file

@ -513,11 +513,7 @@
%{_prefix}/lib/clang/%{maj_ver}/include/sanitizer %{_prefix}/lib/clang/%{maj_ver}/include/sanitizer
%{_prefix}/lib/clang/%{maj_ver}/include/xray %{_prefix}/lib/clang/%{maj_ver}/include/xray
%{_prefix}/lib/clang/%{maj_ver}/share/asan_ignorelist.txt %{_prefix}/lib/clang/%{maj_ver}/share/*.txt
%{_prefix}/lib/clang/%{maj_ver}/share/cfi_ignorelist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/dfsan_abilist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/hwasan_ignorelist.txt
%{_prefix}/lib/clang/%{maj_ver}/share/msan_ignorelist.txt
# Files that appear both in x86_64 and i686 # Files that appear both in x86_64 and i686
%{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/clang_rt.crtbegin.o %{_prefix}/lib/clang/%{maj_ver}/lib/%{llvm_triple}/clang_rt.crtbegin.o