summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2005-08-16 18:39:16 -0700
committerunknown <brian@zim.(none)>2005-08-16 18:39:16 -0700
commit2afe8f7ebb75f84e85bd3d6f790cb564bd4fb106 (patch)
treeff789e2a198f23aa3538abf97d3ee440d0bfb55f /BUILD
parentcfee83c2470d7591409d9b6bd63f5313d51da90e (diff)
parent374e3be5f0d0f152e733b207d69050636859ea99 (diff)
downloadmariadb-git-2afe8f7ebb75f84e85bd3d6f790cb564bd4fb106.tar.gz
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
into zim.(none):/home/brian/mysql/mysql-5.0
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/check-cpu6
1 files changed, 6 insertions, 0 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu
index b970a4b9a5b..dc894c91cbd 100755
--- a/BUILD/check-cpu
+++ b/BUILD/check-cpu
@@ -90,6 +90,9 @@ case "$cpu_family--$model_name" in
*Athlon*)
cpu_arg="athlon";
;;
+ *Opteron*)
+ cpu_arg="opteron";
+ ;;
# Intel ia64
*Itanium*)
@@ -147,6 +150,9 @@ case "$cc_ver--$cc_verno" in
ppc-*)
check_cpu_args='-mcpu=$cpu_arg -mtune=$cpu_arg'
;;
+ x86_64-*)
+ check_cpu_args='-mtune=$cpu_arg'
+ ;;
*)
check_cpu_cflags=""
return