Revert --disable-multilib for x86_64_v2

This commit is contained in:
eabdullin 2024-07-15 17:32:15 +03:00
parent 063ece5a40
commit 1a8fcee0e6

View File

@ -143,7 +143,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
Release: %{gcc_release}%{?dist}.1.alma.1
Release: %{gcc_release}%{?dist}.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
@ -1131,12 +1131,8 @@ CONFIGURE_OPTS="\
%else
--disable-multilib \
%endif
%else
%ifarch x86_64_v2
--disable-multilib \
%else
--enable-multilib \
%endif
%endif
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
--enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only \
@ -1211,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