diff mbox series

[COMMITTED] build: Include minor version in config.gcc unsupported message

Message ID yddmso6ba7i.fsf@CeBiTec.Uni-Bielefeld.DE
State New
Headers show
Series [COMMITTED] build: Include minor version in config.gcc unsupported message | expand

Commit Message

Rainer Orth May 31, 2024, 9:29 a.m. UTC
It has been pointed out to me that when moving Solaris 11.3 from
config.gcc's obsolete to unsupported list, I'd forgotten to also move
the minor version info, leading to confusing

*** Configuration i386-pc-solaris2.11 not supported

instead of the correct

*** Configuration i386-pc-solaris2.11.3 not supported

This patch fixes this oversight.

Tested on i386-pc-solaris2.11 (11.3 and 11.4).  Committed to trunk.

	Rainer
diff mbox series

Patch

# HG changeset patch
# Parent  a457e38f3743f8fe1336d94b6d1a5f336057b128
build: Include minor version in config.gcc unsupported message

diff --git a/gcc/config.gcc b/gcc/config.gcc
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -276,7 +276,7 @@  case ${target} in
    | nios2*-*-*				\
  )
     if test "x$enable_obsolete" != xyes; then
-      echo "*** Configuration ${target}${target_min} is obsolete." >&2
+      echo "*** Configuration ${target} is obsolete." >&2
       echo "*** Specify --enable-obsolete to build it anyway." >&2
       echo "*** Support will be REMOVED in the next major release of GCC," >&2
       echo "*** unless a maintainer comes forward." >&2
@@ -328,7 +328,7 @@  case ${target}${target_min} in
  | *-*-sysv*				\
  | vax-*-vms*				\
  )
-	echo "*** Configuration ${target} not supported" 1>&2
+	echo "*** Configuration ${target}${target_min} not supported" 1>&2
 	exit 1
 	;;
 esac