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
commitefaf3034ccbe5f85a840c089f7dd18df88b5e985 (patch)
treeb8f8217f04850021fd34fdbdc352abbc4aae9ec6 /BUILD
parent6bcf636e7a82b4fb6e20fe6dfdc0b1111f758c18 (diff)
parent112c5389f9bb53ffe544e6d694c98a0468bb7dd8 (diff)
downloadmariadb-git-efaf3034ccbe5f85a840c089f7dd18df88b5e985.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