changeset 31241:e4b071e1145c

Add the -march fallback for amdfam10 also to the x86_64 case.
author reimar
date Wed, 02 Jun 2010 22:09:04 +0000
parents 35b5018370b8
children 1f4cf4c05e83
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Jun 02 20:50:55 2010 +0000
+++ b/configure	Wed Jun 02 22:09:04 2010 +0000
@@ -2076,6 +2076,9 @@
         cc_check -march=native && proc=native
       fi
       # --- AMD processors ---
+      if test "$proc" = "amdfam10"; then
+        cc_check -march=$proc $cpuopt=$proc || proc=k8
+      fi
       if test "$proc" = "k8"; then
         cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp
       fi