fix chrpath error

This commit is contained in:
zhangxianting 2023-12-14 18:56:19 +08:00
parent b44a63dd06
commit 5305e902fb

View File

@ -86,7 +86,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: %{?scl_prefix}gcc%{gcc_ver}
Version: 12.3.1
Release: 15
Release: 16
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@ -1583,7 +1583,10 @@ echo gcc-%{version}-%{release}.%{_arch} > $FULLPATH/rpmver
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
ln -s ../../libexec/gcc/%{gcc_target_platform}/%{gcc_major}/liblto_plugin.so \
%{buildroot}%{_libdir}/bfd-plugins/
%ifarch aarch64
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.*
chrpath -d %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.*
%endif
%check
%if 0
@ -2676,6 +2679,9 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog
* Thu Dec 14 2023 zhangxianting <zhangxianting@uniontech.com> - 12.3.1-16
- fix chrpath error
* Mon Nov 20 2023 Shujian Zhao <zhaoshujian@huawei.com> 12.3.1-15
- Upgrade GCC version 12.2.1 to 12.3.1