diff --git a/configure b/configure index 61fa4a7869..c3091b3b4d 100755 --- a/configure +++ b/configure @@ -1916,6 +1916,9 @@ EOF if test $cc_vendor != "intel" ; then cc_check -march=native && proc=native fi + 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