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 | 59ac54214b8c1dc46e59419de1f337475d231a3d (patch) | |
tree | b8f8217f04850021fd34fdbdc352abbc4aae9ec6 /BUILD | |
parent | 89cbe9156e478e4f1303f981b62da439efa09cf7 (diff) | |
parent | 81470ec3e51f8374763aa52d93a1c8fac8339664 (diff) | |
download | mariadb-git-59ac54214b8c1dc46e59419de1f337475d231a3d.tar.gz |
Merge from 5.0-bugteam local.
Diffstat (limited to 'BUILD')
-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 |