summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-15 09:33:38 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-15 09:33:38 +0000
commit0fd68f17cadab2e0f9e390ffc09b15a8982f3e37 (patch)
tree51ee52f544f40f0040bb197e19b8f750a8db746b /configure
parent02531411b36cb152169a6113ed06cdb292418f7c (diff)
downloadmpv-0fd68f17cadab2e0f9e390ffc09b15a8982f3e37.tar.bz2
mpv-0fd68f17cadab2e0f9e390ffc09b15a8982f3e37.tar.xz
The undocumented x86-64 is a better fallback for core2 than nocona.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30309 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 6e9f17d98c..ebde6ef908 100755
--- a/configure
+++ b/configure
@@ -2064,6 +2064,9 @@ EOF
fi
# --- Intel processors ---
if test "$proc" = "core2"; then
+ cc_check -march=$proc $cpuopt=$proc || proc=x86-64
+ fi
+ if test "$proc" = "x86-64"; then
cc_check -march=$proc $cpuopt=$proc || proc=nocona
fi
if test "$proc" = "nocona"; then