* config.sub: Don't recognize every *-unknown as a basic_machine.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
John Ericson 2018-07-13 09:58:06 +10:00 committed by Ben Elliston
parent 1e826a0344
commit baaaa582bf
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2018-07-13 John Ericson <john.ericson@obsidian.systems>
* config.sub: Don't recognize every *-unknown as a basic_machine.
2018-07-12 Ben Elliston <bje@gnu.org> 2018-07-12 Ben Elliston <bje@gnu.org>
* config.guess: Replace large 'set_cc_for_build' shell variable, * config.guess: Replace large 'set_cc_for_build' shell variable,

4
config.sub vendored
View File

@ -739,6 +739,7 @@ case $basic_machine in
| mipsr5900-* | mipsr5900el-* \ | mipsr5900-* | mipsr5900el-* \
| mipstx39-* | mipstx39el-* \ | mipstx39-* | mipstx39el-* \
| mmix-* \ | mmix-* \
| moxie-* \
| mt-* \ | mt-* \
| msp430-* \ | msp430-* \
| nds32-* | nds32le-* | nds32be-* \ | nds32-* | nds32le-* | nds32be-* \
@ -1263,9 +1264,6 @@ case $basic_machine in
pmac | pmac-mpw) pmac | pmac-mpw)
basic_machine=powerpc-apple basic_machine=powerpc-apple
;; ;;
*-unknown)
# Make sure to match an already-canonicalized machine name.
;;
*) *)
echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
exit 1 exit 1