diff --git a/gcc.spec b/gcc.spec index f385e92c239bb5abb5b2d2c4b0eb0ac45bb880c4..a4aef4c3ffb1e31202787d8addf25da206c8f5a5 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 26 +%global gcc_release 27 %global _unpackaged_files_terminate_build 0 %global _performance_build 1 @@ -215,7 +215,6 @@ Patch116: 0116-aarch64-Fix-return-register-handling-in-untyped_call.patch Patch117: 0117-aarch64-Fix-loose-ldpstp-check.patch # Part 3000 ~ 4999 -%ifarch loongarch64 Patch3001: loongarch-add-alternatives-for-idiv-insns-to-improve.patch Patch3002: loongarch-avoid-unnecessary-sign-extend-after-32-bit.patch Patch3003: LoongArch-Subdivision-symbol-type-add-SYMBOL_PCREL-s.patch @@ -341,7 +340,6 @@ Patch3123: LoongArch-Change-the-value-of-branch_cost-from-2-to-.patch Patch3124: libsanitizer-add-LoongArch-support.patch Patch3125: LoongArch-fix-error-building.patch Patch3126: libjccjit-do-not-link-objects-contained-same-element.patch -%endif # On ARM EABI systems, we do want -gnueabi to be part of the # target triple. @@ -807,7 +805,12 @@ for compiling GCC plugins. The GCC plugin ABI is currently not stable, so plugins must be rebuilt any time GCC is updated. %prep -%autosetup -p1 -n gcc-12.3.0 +%setup -n gcc-12.3.0 +%autopatch -M118 -p1 + +%ifarch loongarch64 +%autopatch -m3001 -M4999 -p1 +%endif echo '%{_vendor} %{version}-%{release}' > gcc/DEV-PHASE @@ -3081,6 +3084,12 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Dec 09 2024 shenzhongwei - 12.3.1-27 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:include all patches in the source package. + * Fri Sep 20 2024 fuanan - 12.3.1-26 - Type:Sync - ID:NA