config.sub: don’t override OS for c90-cray.

Fix a typo in the logic for handling the OS default for c90-cray,
causing c90-cray-[anything] to get overridden to c90-cray-unicos.
I’m not aware of any non-Unicos operating systems for the C90, but
let’s not be a pointless obstacle for anyone who wants to write one.
(For testing purposes I used Linux, because config.sub’s generic logic
accepts it in combination with any CPU whatsoever.)

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Zack Weinberg 2024-06-03 15:28:37 -04:00 committed by Dmitry V. Levin
parent 30dd89683d
commit fc40088525
2 changed files with 6 additions and 1 deletions

2
config.sub vendored
View File

@ -1031,7 +1031,7 @@ case $cpu-$vendor in
;;
c90-unknown | c90-cray)
vendor=cray
basic_os=${Basic_os:-unicos}
basic_os=${basic_os:-unicos}
;;
fx80-unknown)
vendor=alliant

View File

@ -203,6 +203,11 @@ c6x-unknown-elf tic6x-unknown-elf
c8051 c8051-unknown-elf
c8051-elf c8051-unknown-elf
c90 c90-cray-unicos
c90-cray c90-cray-unicos
c90-linux c90-cray-linux-gnu
c90-unicos c90-cray-unicos
c90-unknown-linux c90-cray-linux-gnu
c90-unknown-unicos c90-cray-unicos
cegcc arm-unknown-cegcc
clipper clipper-unknown-none
clipper-clix clipper-intergraph-clix