summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-04-27 17:52:14 +0200
committermsvensson@neptunus.(none) <>2005-04-27 17:52:14 +0200
commit49818d6f2db0bd213a7ad4a41ad7201b9a0ea58d (patch)
tree4d1bd2ec0c799396b7b3d2d07b89f23acb707d3a /BUILD
parent565e660bd453c7d91b153384e80c40ddcc44a14e (diff)
downloadmariadb-git-49818d6f2db0bd213a7ad4a41ad7201b9a0ea58d.tar.gz
After review fix
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/check-cpu8
1 files changed, 7 insertions, 1 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu
index 633aa9e8a00..b5c14e38403 100755
--- a/BUILD/check-cpu
+++ b/BUILD/check-cpu
@@ -47,10 +47,16 @@ case "$cpu_family--$model_name" in
cpu_flag="powerpc";
;;
*)
- cpu_flag="i386";
+ cpu_flag="";
;;
esac
+if test -z "$cpu_flag"; then
+ echo "BUILD/check-cpu: Oops, could not findout what kind of cpu this machine is using."
+ check_cpu_flags=""
+ return
+fi
+
echo "cpu_flag: $cpu_flag"
if test -z "$CC" ; then