]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
build: Include minor version in config.gcc unsupported message
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 31 May 2024 09:29:19 +0000 (11:29 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 31 May 2024 09:29:19 +0000 (11:29 +0200)
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  <ro@CeBiTec.Uni-Bielefeld.DE>

gcc:
* config.gcc: Move ${target_min} from obsolete to unsupported
message.

gcc/config.gcc

index a37113bd00aef1412771f7dd630abebabd444c1f..e500ba63e3222b8f787d9e7ff1f6a0cff93dafbf 100644 (file)
@@ -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