diff --git a/gcc.spec b/gcc.spec index df2472364f18d240647ccf4d88f2fc8516602cb0..a79aa82a83e25df7ea888a20175f932aea890bbc 100644 --- a/gcc.spec +++ b/gcc.spec @@ -2,7 +2,7 @@ %global gcc_major 12 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. -%global gcc_release 1 +%global gcc_release 2 %global _unpackaged_files_terminate_build 0 %global _performance_build 1 @@ -1500,8 +1500,10 @@ chrpath -d %{buildroot}%{_prefix}/%{_lib}/libtsan.so.2.* chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* chrpath -d %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* %endif +if [ -e %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.* ]; then chmod 755 %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.* chrpath -d %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.* +fi %if %{build_go} # Avoid stripping these libraries and binaries. chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.21.* @@ -2703,6 +2705,10 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Jun 19 2023 huangxiaaoquan 12.3.0-2 +- Type:Fix +- DESC:Add the judgment for processing the libhwasan.so file + * Tue Jun 13 2023 huangxiaaoquan 12.3.0-1 - Type:Init - DESC:Init GCC 12.3.0 repository