diff --git a/gcc.spec b/gcc.spec index 61e87f4c5d822c858b6e4d0fdfaf48bdba0b6116..781fdb488db1463451562fc746bf2c7425c0a7c6 100644 --- a/gcc.spec +++ b/gcc.spec @@ -61,7 +61,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: 18 +Release: 19 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gcc.gnu.org @@ -73,7 +73,7 @@ BuildRequires: binutils >= 2.31 BuildRequires: glibc-headers BuildRequires: libtool, zlib-devel, texinfo, flex, bison BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 3.1.0, libmpc-devel >= 0.8.1 -BuildRequires: gcc, gcc-c++, make +BuildRequires: gcc, gcc-c++, make, chrpath %if %{build_go} BuildRequires: hostname, procps %endif @@ -1573,15 +1573,19 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libatomic.so.1.* %endif %if %{build_libasan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libasan.so.6.* +chrpath -d %{buildroot}%{_prefix}/%{_lib}/libasan.so.6.* %endif %if %{build_libubsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libubsan.so.1.* +chrpath -d %{buildroot}%{_prefix}/%{_lib}/libubsan.so.1.* %endif %if %{build_libtsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.* +chrpath -d %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.* %endif %if %{build_liblsan} chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* +chrpath -d %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.* %endif %if %{build_go} # Avoid stripping these libraries and binaries. @@ -2755,6 +2759,12 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Dec 19 2022 liyancheng <412998149@qq.com> - 10.3.1-19 +- Type:Fix +- ID:NA +- SUG:NA +- DESC:Delete rpath in liblsan,libasan,libubsan,libtsan + * Thu Dec 8 2022 liyancheng <412998149@qq.com> - 10.3.1-18 - Type:Sync - ID:NA