Commit e514a1ee authored by unknown's avatar unknown

Merge bk-internal:/home/bk/mysql-4.1

into mysql.com:/home/jimw/my/mysql-4.1-clean

parents 2e9ce665 b7b8537a
...@@ -34,7 +34,7 @@ else ...@@ -34,7 +34,7 @@ else
fi fi
cpu_flag="" cpu_flag=""
cpu_flag_obs="" cpu_flag_old=""
case "$cpu_family--$model_name" in case "$cpu_family--$model_name" in
Alpha*EV6*) Alpha*EV6*)
...@@ -57,7 +57,7 @@ case "$cpu_family--$model_name" in ...@@ -57,7 +57,7 @@ case "$cpu_family--$model_name" in
;; ;;
*Athlon*64*) *Athlon*64*)
cpu_flag="athlon64"; cpu_flag="athlon64";
cpu_flag_obs="athlon"; cpu_flag_old="athlon";
;; ;;
*Athlon*) *Athlon*)
cpu_flag="athlon"; cpu_flag="athlon";
...@@ -98,8 +98,9 @@ case "$cc_ver--$cc_verno" in ...@@ -98,8 +98,9 @@ case "$cc_ver--$cc_verno" in
;; ;;
*GCC*) *GCC*)
# Fix for older compiler versions # Fix for older compiler versions
if test -z "$cpu_flag_obs"; then if test -n "$cpu_flag_old"; then
cpu_flag=$cpu_flag_obs; cpu_flag="$cpu_flag_old"
fi
check_cpu_cflags="-mcpu=$cpu_flag -march=$cpu_flag" check_cpu_cflags="-mcpu=$cpu_flag -march=$cpu_flag"
;; ;;
*) *)
......
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