From e93376601972c85840752be0babe68c9845f232a Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 20 Nov 2024 12:42:41 +0300 Subject: [PATCH] - Change to almalinux bugtracker - Set --with-arch_64=x86-64-v2 on v2 arch --- gcc.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc.spec b/gcc.spec index 215bb29..56a981b 100644 --- a/gcc.spec +++ b/gcc.spec @@ -143,7 +143,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: %{gcc_release}%{?dist} +Release: %{gcc_release}%{?dist}.alma.1 # License notes for some of the less obvious ones: # gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para # isl: MIT, BSD-2-Clause @@ -1011,7 +1011,7 @@ CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \ --target nvptx-none --enable-as-accelerator-for=%{gcc_target_platform} \ --enable-languages=c,c++,fortran,lto \ --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ - --with-bugurl=http://bugzilla.redhat.com/bugzilla \ + --with-bugurl=http://bugs.almalinux.org/ \ --enable-checking=release --with-system-zlib \ --with-gcc-major-version-only --without-isl make %{?_smp_mflags} @@ -1047,7 +1047,7 @@ CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \ --target amdgcn-amdhsa --enable-as-accelerator-for=%{gcc_target_platform} \ --enable-languages=c,c++,fortran,lto \ --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ - --with-bugurl=http://bugzilla.redhat.com/bugzilla \ + --with-bugurl=http://bugs.almalinux.org/ \ --enable-checking=release --with-system-zlib \ --with-gcc-major-version-only --without-isl --disable-libquadmath make %{?_smp_mflags} @@ -1116,7 +1116,7 @@ offloadtgts=${offloadtgts:+${offloadtgts},}amdgcn-amdhsa %endif CONFIGURE_OPTS="\ --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ - --with-bugurl=http://bugzilla.redhat.com/bugzilla \ + --with-bugurl=http://bugs.almalinux.org/ \ --enable-shared --enable-threads=posix --enable-checking=release \ %ifarch ppc64le --enable-targets=powerpcle-linux \ @@ -1207,7 +1207,11 @@ CONFIGURE_OPTS="\ %ifarch x86_64 %if 0%{?rhel} > 8 %if 0%{?rhel} > 9 +%ifarch x86_64_v2 + --with-arch_64=x86-64-v2 \ +%else --with-arch_64=x86-64-v3 \ +%endif %else --with-arch_64=x86-64-v2 \ %endif @@ -3616,6 +3620,10 @@ end %endif %changelog +* Wed Nov 20 2024 Eduard Abdullin - 14.2.1-1.alma.1 +- Change to almalinux bugtracker +- Set --with-arch_64=x86-64-v2 on v2 arch + * Thu Aug 1 2024 Jakub Jelinek 14.2.1-1 - update from releases/gcc-14 branch - GCC 14.2 release