* config.sub (maybe_os): Remove second and duplicate *-xenix case

as only the first will match. Found by Shellcheck.
	* testsuite/config-sub.data: Add test case.
This commit is contained in:
Ben Elliston 2018-01-13 20:12:27 +11:00
parent a9f681360d
commit 8503c24298
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2018-01-13 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Remove second and duplicate *-xenix case
as only the first will match. Found by Shellcheck.
* testsuite/config-sub.data: Add test case.
2018-01-13 Ben Elliston <bje@gnu.org>
* config.sub (maybe_os): Remove hppa-next which can never match

3
config.sub vendored
View File

@ -1531,9 +1531,6 @@ case $os in
-es1800*)
os=-ose
;;
-xenix)
os=-xenix
;;
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
os=-mint
;;

View File

@ -184,6 +184,7 @@ i386-solidbsd i386-pc-solidbsd
i386-sortix i386-pc-sortix
i386-udk i386-pc-udk
i386-vsta i386-pc-vsta
i386-xenix i386-pc-xenix
i486-elf i486-pc-elf
i586-auroraux5.0 i586-pc-auroraux5.0
i586-auroraux i586-pc-auroraux