diff options
author | tomas@poseidon.ndb.mysql.com <> | 2005-05-31 14:37:47 +0200 |
---|---|---|
committer | tomas@poseidon.ndb.mysql.com <> | 2005-05-31 14:37:47 +0200 |
commit | 5088b28d0958e0ece39a10dd1f242970bafd9575 (patch) | |
tree | 7c45fd5243b3cfbcdac69f6a06c9b1ae00ddc11e /BUILD | |
parent | 30def9f3f878111eb504d77b54d287deb698e452 (diff) | |
parent | ea5c256b2701c38e151447dd9aa2fcff3070edff (diff) | |
download | mariadb-git-5088b28d0958e0ece39a10dd1f242970bafd9575.tar.gz |
Merge
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/check-cpu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu index 7619224314b..0283c669fb2 100755 --- a/BUILD/check-cpu +++ b/BUILD/check-cpu @@ -72,6 +72,7 @@ case "$cpu_family--$model_name" in ;; *ppc) cpu_flag="powerpc"; + no_march=1; ;; *) cpu_flag=""; @@ -106,6 +107,9 @@ case "$cc_ver--$cc_verno" in cpu_flag="$cpu_flag_old" fi check_cpu_cflags="-mcpu=$cpu_flag -march=$cpu_flag" + if test -n "$no_march"; then + check_cpu_cflags="-mcpu=$cpu_flag" + fi ;; *) check_cpu_cflags="" |