From 7d61b7e13fd848449770f2226a7dc7dbd41fadfd Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 29 Sep 2010 09:38:31 +0000 Subject: * 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 --- tool/config.sub | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tool/config.sub') 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 -- cgit v1.2.3