aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-02 22:09:04 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-02 22:09:04 +0000
commit9b04897e76aa15aef0d27618b550c605cc02f08d (patch)
tree02f45a1d8a1270127bcc792471a4c72ee84d5a27 /configure
parentac02b9ee47e57f98862accd4474e3c751d6e97ac (diff)
Add the -march fallback for amdfam10 also to the x86_64 case.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31307 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 250a8426c1..7a87fd6548 100755
--- a/configure
+++ b/configure
@@ -2076,6 +2076,9 @@ EOF
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