diff --git a/gcc-12.spec b/gcc-12.spec index 6d046fe..ea75ccb 100644 --- a/gcc-12.spec +++ b/gcc-12.spec @@ -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 - 12.3.1-16 +- fix chrpath error + * Mon Nov 20 2023 Shujian Zhao 12.3.1-15 - Upgrade GCC version 12.2.1 to 12.3.1