summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorpappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2005-08-25 13:11:38 -0400
committerpappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2005-08-25 13:11:38 -0400
commit02056f8e3ae729c06875ab63eef8680574b3d91e (patch)
tree86faf87634c19937967b360a0dd1413fc9eb2879 /BUILD
parent1c9a78438e789a70c6ee3f227c164739c4bd25e2 (diff)
parent0c859d6651277c2ee3664cb14bb34a23d048731f (diff)
downloadmariadb-git-02056f8e3ae729c06875ab63eef8680574b3d91e.tar.gz
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.0
into c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD/Makefile.am1
-rwxr-xr-xBUILD/check-cpu6
2 files changed, 7 insertions, 0 deletions
diff --git a/BUILD/Makefile.am b/BUILD/Makefile.am
index 27a42cdca16..45c1aaa1a76 100644
--- a/BUILD/Makefile.am
+++ b/BUILD/Makefile.am
@@ -19,6 +19,7 @@
EXTRA_DIST = FINISH.sh \
SETUP.sh \
+ autorun.sh \
check-cpu \
compile-alpha \
compile-alpha-ccc \
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