summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot4.local>2007-03-09 14:39:24 +0100
committerunknown <guilhem@gbichot4.local>2007-03-09 14:39:24 +0100
commit0b9d0fef999e91dd96938b2bdaa0a48de3850d5f (patch)
treeb771d1377dbbb019a6b2af5a8577cea48bba42ea /BUILD
parent06e5abc749492bca32a1a97f60d79f4780aef5fa (diff)
downloadmariadb-git-0b9d0fef999e91dd96938b2bdaa0a48de3850d5f.tar.gz
Fix for BUG#26971 "BUILD/check-cpu does not recognize Intel Core 2
Duo T7400". Treat such CPU as Xeon. Here's /proc/cpuinfo for T7400: model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz BUILD/check-cpu: Fix for BUG#26971 "BUILD/check-cpu does not recognize Intel Core 2 Duo T7400". Treat such CPU as Xeon.
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/check-cpu5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu
index 9edde51402f..ee897bec05d 100755
--- a/BUILD/check-cpu
+++ b/BUILD/check-cpu
@@ -64,10 +64,11 @@ check_cpu () {
;;
# Intel ia32
- *X[eE][oO][nN]*)
+ *Intel*Core*|*X[eE][oO][nN]*)
# a Xeon is just another pentium4 ...
# ... unless it has the "lm" (long-mode) flag set,
- # in that case it's a Xeon with EM64T support
+ # in that case it's a Xeon with EM64T support
+ # So is Intel Core.
if [ -z "$cpu_flag_lm" ]; then
cpu_arg="pentium4";
else