summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-29 09:38:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-29 09:38:31 +0000
commit7d61b7e13fd848449770f2226a7dc7dbd41fadfd (patch)
tree335a12c22a6e47e7c11c3a054b4219ce064009ea /tool
parent3e85e584117f21b7d31e56274da4eb8585a39a9a (diff)
* tool/config.sub (x64): regularize only for pc vendor, and strip
useless 64 suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/config.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/config.sub b/tool/config.sub
index 611a7b622e..b8d3d323cf 100755
--- a/tool/config.sub
+++ b/tool/config.sub
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
-timestamp='2010-09-28'
+timestamp='2010-09-29'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -1706,9 +1706,9 @@ case $basic_machine in
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;
- x86_64*)
+ x86_64-pc)
basic_machine=`echo $basic_machine | sed 's/^x86_/x/'`
- os=`echo $os | sed 's/32/64/'`
+ os=`echo $os | sed '/[a-z]32$/s/32$//;/[a-z]64/s/64$//'`
;;
esac