Commit cd50bf9a authored by unknown's avatar unknown

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
...@@ -47,10 +47,16 @@ case "$cpu_family--$model_name" in ...@@ -47,10 +47,16 @@ case "$cpu_family--$model_name" in
cpu_flag="powerpc"; cpu_flag="powerpc";
;; ;;
*) *)
cpu_flag="i386"; cpu_flag="";
;; ;;
esac 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" echo "cpu_flag: $cpu_flag"
if test -z "$CC" ; then if test -z "$CC" ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment