diff options
author | Chad MILLER <chad@mysql.com> | 2008-08-18 13:33:00 -0400 |
---|---|---|
committer | Chad MILLER <chad@mysql.com> | 2008-08-18 13:33:00 -0400 |
commit | c6bbad9e507061eeecf775a68d68c1437b6aeb68 (patch) | |
tree | b8f8217f04850021fd34fdbdc352abbc4aae9ec6 /BUILD/check-cpu | |
parent | 10ae3ae1c8f7fe3a91caf4e1eeeefe34a9343b54 (diff) | |
parent | d4e3b42345468903ac3ac7c0a79f583781767db9 (diff) | |
download | mariadb-git-c6bbad9e507061eeecf775a68d68c1437b6aeb68.tar.gz |
Merge from 5.0-bugteam local.
Diffstat (limited to 'BUILD/check-cpu')
-rwxr-xr-x | BUILD/check-cpu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu index 45dd8404f0d..33bf857b845 100755 --- a/BUILD/check-cpu +++ b/BUILD/check-cpu @@ -176,7 +176,7 @@ check_cpu () { fi cc_ver=`$cc --version | sed 1q` - cc_verno=`echo $cc_ver | sed -e 's/^.*gcc/gcc/g; s/[^0-9. ]//g; s/^ *//g; s/ .*//g'` + cc_verno=`echo $cc_ver | sed -e 's/^.*(GCC)//g; s/[^0-9. ]//g; s/^ *//g; s/ .*//g'` set -- `echo $cc_verno | tr '.' ' '` cc_major=$1 cc_minor=$2 |