diff options
Diffstat (limited to 'BUILD/check-cpu')
-rwxr-xr-x | BUILD/check-cpu | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu index e207d12d972..df44c3f55ea 100755 --- a/BUILD/check-cpu +++ b/BUILD/check-cpu @@ -90,6 +90,9 @@ check_cpu () { *Athlon*) cpu_arg="athlon"; ;; + *Opteron*) + cpu_arg="opteron"; + ;; # Intel ia64 *Itanium*) @@ -147,6 +150,9 @@ check_cpu () { ppc-*) check_cpu_args='-mcpu=$cpu_arg -mtune=$cpu_arg' ;; + x86_64-*) + check_cpu_args='-mtune=$cpu_arg' + ;; *) check_cpu_cflags="" return @@ -195,8 +201,8 @@ check_cpu () { pentium) cpu_arg=i486 ;; i486) cpu_arg=i386 ;; - # power / powerPC - 7450) cpu_arg=7400 ;; + # power / powerPC + 7450) cpu_arg=7400 ;; *) cpu_arg="" ;; esac |