Commit cd50bf9a authored by unknown's avatar unknown
Browse files

After review fix


BUILD/check-cpu:
  Remove defaul flag i386 and add a check to see wheter to set check_cpu_cflags or not.
parent ffb4ff24
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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