summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2007-03-01 21:00:46 +0100
committerunknown <df@pippilotta.erinye.com>2007-03-01 21:00:46 +0100
commit5439445c15c4bbf46048842c97264f7e0db18edd (patch)
tree29eb1e486d4fec89ab754f77ca355f1612b58de0 /BUILD
parentf835ac88b802daee410914b8c9a4128be51ef988 (diff)
parentf8d58c1d1f89a2147466d11feeb54ca3c217c077 (diff)
downloadmariadb-git-5439445c15c4bbf46048842c97264f7e0db18edd.tar.gz
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-26701
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work-26701 BUILD/check-cpu: Auto merged
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/check-cpu9
1 files changed, 8 insertions, 1 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu
index 9edde51402f..e1001409d15 100755
--- a/BUILD/check-cpu
+++ b/BUILD/check-cpu
@@ -179,7 +179,14 @@ check_cpu () {
check_cpu_args='-mcpu=$cpu_arg -mtune=$cpu_arg'
;;
x86_64-*)
- check_cpu_args='-mtune=$cpu_arg'
+ case "$cc_verno" in
+ 3.4*|3.5*|4.*)
+ check_cpu_args='-mtune=$cpu_arg'
+ ;;
+ *)
+ check_cpu_args='-mcpu=$cpu_arg'
+ ;;
+ esac
;;
*)
check_cpu_cflags=""