Modify openEuler to vendor
This commit is contained in:
parent
86737f8ed5
commit
62a7e58643
@ -11,7 +11,7 @@
|
||||
|
||||
Name: rust
|
||||
Version: 1.77.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: The Rust Programming Language
|
||||
License: Apache-2.0 OR MIT
|
||||
URL: https://www.rust-lang.org
|
||||
@ -322,7 +322,7 @@ fi
|
||||
%global clang_maj_ver 17
|
||||
%if %{?clang_maj_ver} >= 17
|
||||
# This is the new one, used on openEuler 24.03 LTS or later
|
||||
%define profiler %(echo %{_prefix}/%{_lib}/clang/%{clang_maj_ver}/lib/%{_arch}-openEuler-linux-gnu/libclang_rt.profile.a)
|
||||
%define profiler %(echo %{_prefix}/%{_lib}/clang/%{clang_maj_ver}/lib/%{_arch}-%{_vendor}-linux-gnu/libclang_rt.profile.a)
|
||||
%else
|
||||
# This is used before openEuler 23.09
|
||||
%global clang_full_ver %%(clang --version | awk '/clang version/{print $3}')
|
||||
@ -509,6 +509,9 @@ export %{rust_env}
|
||||
%{_mandir}/man1/cargo*.1*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 22 2024 panchenbo <panchenbo@kylinsec.com.cn> - 1.77.0-3
|
||||
- Modify openEuler to vendor
|
||||
|
||||
* Thu Apr 11 2024 misaka00251 <liuxin@iscas.ac.cn> - 1.77.0-2
|
||||
- Enable profiler builtin
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user