summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
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