!21 fix rpath error
From: @zhangxianting Reviewed-by: @zhaoshujian, @li-yancheng Signed-off-by: @li-yancheng
This commit is contained in:
commit
e76dec4265
10
gcc-12.spec
10
gcc-12.spec
@ -86,7 +86,7 @@
|
|||||||
Summary: Various compilers (C, C++, Objective-C, ...)
|
Summary: Various compilers (C, C++, Objective-C, ...)
|
||||||
Name: %{?scl_prefix}gcc%{gcc_ver}
|
Name: %{?scl_prefix}gcc%{gcc_ver}
|
||||||
Version: 12.3.1
|
Version: 12.3.1
|
||||||
Release: 15
|
Release: 16
|
||||||
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
|
||||||
# GCC Runtime Exception.
|
# GCC Runtime Exception.
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
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/
|
%{__mkdir_p} %{buildroot}%{_libdir}/bfd-plugins/
|
||||||
ln -s ../../libexec/gcc/%{gcc_target_platform}/%{gcc_major}/liblto_plugin.so \
|
ln -s ../../libexec/gcc/%{gcc_target_platform}/%{gcc_major}/liblto_plugin.so \
|
||||||
%{buildroot}%{_libdir}/bfd-plugins/
|
%{buildroot}%{_libdir}/bfd-plugins/
|
||||||
|
%ifarch aarch64
|
||||||
|
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.*
|
||||||
|
chrpath -d %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.*
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0
|
%if 0
|
||||||
@ -2676,6 +2679,9 @@ end
|
|||||||
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
||||||
|
|
||||||
%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
|
* Mon Nov 20 2023 Shujian Zhao <zhaoshujian@huawei.com> 12.3.1-15
|
||||||
- Upgrade GCC version 12.2.1 to 12.3.1
|
- Upgrade GCC version 12.2.1 to 12.3.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user