Loosen the search for older libclang_rt.profile
This commit is contained in:
parent
0b6ffb1d4a
commit
4740f18b01
@ -721,7 +721,7 @@ fi
|
|||||||
%define profiler %{clang_resource_dir}/lib/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a
|
%define profiler %{clang_resource_dir}/lib/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a
|
||||||
%else
|
%else
|
||||||
# The exact profiler path is version dependent..
|
# 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
|
%endif
|
||||||
test -r "%{profiler}"
|
test -r "%{profiler}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user