From 4740f18b016e16265a95ec132b86e3b9061a67ae Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 5 Oct 2023 15:45:24 -0700 Subject: [PATCH] Loosen the search for older libclang_rt.profile --- rust.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index b35408d..7ff4c0a 100644 --- a/rust.spec +++ b/rust.spec @@ -721,7 +721,7 @@ fi %define profiler %{clang_resource_dir}/lib/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a %else # The exact profiler path is version dependent.. -%define profiler %(echo %{_libdir}/clang/*/lib/libclang_rt.profile-%{_arch}.a) +%define profiler %(echo %{_libdir}/clang/??/lib/libclang_rt.profile-*.a) %endif test -r "%{profiler}"