diff --git a/gcc.spec b/gcc.spec index 72f9d15133105d96288ae36270334fe37ccc1eea..8855a60529403a1b293e757de1f9e57d6a76331a 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,4 +1,4 @@ -%define anolis_release 4 +%define anolis_release 5 %global DATE 20221121 %global gitrev b3f5a0d53b84ed27cf00cfa2b9c3e2c78935c07d @@ -887,6 +887,8 @@ mkdir annobin-plugin cd annobin-plugin tar xf %{_usrsrc}/annobin/latest-annobin.tar.xz cd annobin* +cp /usr/lib/rpm/anolis/config.* ./config/ -rf +cp /usr/lib/rpm/anolis/config.* ./gcc-plugin/ -rf touch aclocal.m4 configure Makefile.in */configure */config.h.in */Makefile.in ANNOBIN_FLAGS=../../obj-%{gcc_target_platform}/%{gcc_target_platform}/libstdc++-v3/scripts/testsuite_flags ANNOBIN_CFLAGS1="%build_cflags -I %{_builddir}/gcc-%{version}-%{DATE}/gcc" @@ -2096,6 +2098,9 @@ end %changelog +* Thu Oct 19 2023 Peng Fan - 12.2.1-5 +- LoongArch: update config scripts for annobin. + * Tue Aug 8 2023 Peng Fan - 12.2.1-4 - LoongArch: fix up for sanitizer and add missed headers