diff options
author | unknown <msvensson@neptunus.(none)> | 2005-04-27 17:52:14 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-04-27 17:52:14 +0200 |
commit | cd50bf9ae4407e856a5cb4263512013a24cff5b7 (patch) | |
tree | 4d1bd2ec0c799396b7b3d2d07b89f23acb707d3a /BUILD | |
parent | ffb4ff245446616f425023256e9fd07204bef000 (diff) | |
download | mariadb-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-x | BUILD/check-cpu | 8 |
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 |