From 88dc1656b1149eb3c4e38ce493896e5c2124d4cb Mon Sep 17 00:00:00 2001 From: zhenyu--zhao Date: Mon, 4 Sep 2023 22:23:32 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=AE=89=E5=85=A8=E7=BC=96=E8=AF=91strip?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gcc.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index 50445a9..2cd30d6 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 10 +%global gcc_release 11 %global _unpackaged_files_terminate_build 0 %global _performance_build 1 @@ -1661,6 +1661,11 @@ echo gcc-%{version}-%{release}.%{_arch} > $FULLPATH/rpmver ln -s ../../libexec/gcc/%{gcc_target_platform}/%{gcc_major}/liblto_plugin.so \ %{buildroot}%{_libdir}/bfd-plugins/ + +strip -s %{buildroot}%{_prefix}/bin/gcc +strip -s %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc + + %check cd obj-%{gcc_target_platform} @@ -2756,6 +2761,10 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Tue Sep 05 2023 zhaozhenyu 12.3.1-11 +- Type: SPEC +- DESC: Enable strip strip + * Mon Sep 04 2023 dingguangya 12.3.1-10 - Type: Sync - DESC: Sync patch from openeuler/gcc -- Gitee