summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2008-08-18 13:33:00 -0400
committerChad MILLER <chad@mysql.com>2008-08-18 13:33:00 -0400
commit59ac54214b8c1dc46e59419de1f337475d231a3d (patch)
treeb8f8217f04850021fd34fdbdc352abbc4aae9ec6 /BUILD
parent89cbe9156e478e4f1303f981b62da439efa09cf7 (diff)
parent81470ec3e51f8374763aa52d93a1c8fac8339664 (diff)
downloadmariadb-git-59ac54214b8c1dc46e59419de1f337475d231a3d.tar.gz
Merge from 5.0-bugteam local.
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/check-cpu2
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