diff options
author | df@pippilotta.erinye.com <> | 2007-03-01 21:00:46 +0100 |
---|---|---|
committer | df@pippilotta.erinye.com <> | 2007-03-01 21:00:46 +0100 |
commit | 6bce4753ad436e7f92ee3496c1c20edc5ebb51ba (patch) | |
tree | 29eb1e486d4fec89ab754f77ca355f1612b58de0 /BUILD/check-cpu | |
parent | 6b96135efb2c2d5b2ee18826f630645dd4e5a25c (diff) | |
parent | 2658b0853be98dafb9e0372fee15813834399d0b (diff) | |
download | mariadb-git-6bce4753ad436e7f92ee3496c1c20edc5ebb51ba.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
Diffstat (limited to 'BUILD/check-cpu')
-rwxr-xr-x | BUILD/check-cpu | 9 |
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="" |