From 37fafc63e732c51900d2d998b6df6433d9ca6e2f Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 31 May 2024 11:29:19 +0200 Subject: [PATCH] build: Include minor version in config.gcc unsupported message 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). 2024-05-30 Rainer Orth gcc: * config.gcc: Move ${target_min} from obsolete to unsupported message. --- gcc/config.gcc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index a37113bd00a..e500ba63e32 100644 --- 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 -- 2.47.2