diff options
author | tsmith@maint2.mysql.com <> | 2006-08-31 00:01:43 +0200 |
---|---|---|
committer | tsmith@maint2.mysql.com <> | 2006-08-31 00:01:43 +0200 |
commit | 0af01804686945185e90643559136cc3c6dba429 (patch) | |
tree | 22896f7dd3be3e2ae695d66895948bba62bb683a /BUILD | |
parent | b0adc47e867fdeac32269570e2287d2d9c65ad82 (diff) | |
parent | 001aaedddcd22cddc10bfc6f6e2f43d028c7f1ac (diff) | |
download | mariadb-git-0af01804686945185e90643559136cc3c6dba429.tar.gz |
Merge maint2.mysql.com:/data/localhome/tsmith/bk/g50
into maint2.mysql.com:/data/localhome/tsmith/bk/50
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/check-cpu | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu index df44c3f55ea..fb69fd0acae 100755 --- a/BUILD/check-cpu +++ b/BUILD/check-cpu @@ -93,6 +93,10 @@ check_cpu () { *Opteron*) cpu_arg="opteron"; ;; + # MacOSX / Intel + *i386*i486*) + cpu_arg="pentium-m"; + ;; # Intel ia64 *Itanium*) @@ -131,7 +135,7 @@ check_cpu () { fi cc_ver=`$cc --version | sed 1q` - cc_verno=`echo $cc_ver | sed -e 's/[^0-9. ]//g; s/^ *//g; s/ .*//g'` + cc_verno=`echo $cc_ver | sed -e 's/^.*gcc/gcc/g; s/[^0-9. ]//g; s/^ *//g; s/ .*//g'` case "$cc_ver--$cc_verno" in *GCC*) |