summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'config.sub')
-rw-r--r--config.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.sub b/config.sub
index 9027a69b36..5bb67e96b6 100644
--- a/config.sub
+++ b/config.sub
@@ -165,8 +165,8 @@ case $basic_machine in
i[3456]86)
basic_machine=$basic_machine-pc
;;
- i[3456]86-TOWNS-pc)
- basic_machine=`echo $basic_machine | sed -e 's/-pc//'`
+ i[3456]86-TOWNS*)
+ basic_machine=`echo $basic_machine | sed -e 's/-TOWNS.*/-TOWNS/'`
;;
# Object if more than one company name word.
*-*-*)