diff options
-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 |