diff options
author | unknown <df@pippilotta.erinye.com> | 2007-03-01 21:00:46 +0100 |
---|---|---|
committer | unknown <df@pippilotta.erinye.com> | 2007-03-01 21:00:46 +0100 |
commit | a1e0b96cc90ec6bc5f9af8787cff8b46ecaf1432 (patch) | |
tree | 29eb1e486d4fec89ab754f77ca355f1612b58de0 /BUILD | |
parent | 372f83316e21f7aa6ca16146253d97b9837f23f2 (diff) | |
parent | 51fae9243f5c5c6957e1d217e906944bfaa1a9a8 (diff) | |
download | mariadb-git-a1e0b96cc90ec6bc5f9af8787cff8b46ecaf1432.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-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="" |