summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-04-27 17:52:14 +0200
committerunknown <msvensson@neptunus.(none)>2005-04-27 17:52:14 +0200
commitcd50bf9ae4407e856a5cb4263512013a24cff5b7 (patch)
tree4d1bd2ec0c799396b7b3d2d07b89f23acb707d3a /BUILD
parentffb4ff245446616f425023256e9fd07204bef000 (diff)
downloadmariadb-git-cd50bf9ae4407e856a5cb4263512013a24cff5b7.tar.gz
After review fix
BUILD/check-cpu: Remove defaul flag i386 and add a check to see wheter to set check_cpu_cflags or not.
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