# HG changeset patch # User reimar # Date 1275516544 0 # Node ID e4b071e1145c55ba68eb83fc47cc7c8b667123d5 # Parent 35b5018370b8850ae6253f58213e16a55ca3b389 Add the -march fallback for amdfam10 also to the x86_64 case. diff -r 35b5018370b8 -r e4b071e1145c configure --- 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