https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123841

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Trying:
--- gcc/acinclude.m4.jj 2026-01-27 22:03:07.406974596 +0100
+++ gcc/acinclude.m4    2026-01-27 22:06:46.560267046 +0100
@@ -478,7 +478,7 @@ AC_DEFUN([gcc_GAS_FLAGS],
     as_32_opt=-m32
     as_64_opt=-m64
     ;;
-  i?86-*-*:yes | x86_64-*-*:yes )
+  i?86-*-*:* | x86_64-*-*:* )
     dnl Override the default, which may be incompatible.
     case "$target" in
       i?86-*-*)
--- gcc/configure.jj    2026-01-27 22:03:07.418974393 +0100
+++ gcc/configure       2026-01-27 22:07:05.716942962 +0100
@@ -26124,7 +26124,7 @@ else
     as_32_opt=-m32
     as_64_opt=-m64
     ;;
-  i?86-*-*:yes | x86_64-*-*:yes )
+  i?86-*-*:* | x86_64-*-*:* )
         case "$target" in
       i?86-*-*)
        gcc_cv_as_flags=--32
now, for solaris2 I think this should make no difference, because the
*solaris2*:no case matches earlier, for linux restore previous behavior (at
least, so far both i686-linux and x86_64-linux stage1 auto-host.h is the same
with the patch as was yesterday).  Unsure about other x86 targets though (and
whether that makes a difference).
If it would make a difference, then perhaps
  i?86-*-solaris2*:* | x86_64-*-solaris2*:* | i?86-*-linux*:* |
x86_64-*-linux*:* )

Reply via email to