summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-29 14:44:02 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-29 14:44:02 +0000
commit2bdc2412a1b96f589e0535282c955d904bc2a53d (patch)
tree36d5b6f0f9f072197f979f2e4420955ca7700fb0 /configure
parent47d1b72f4655dd98e906fd0609bfc4e7778c92f7 (diff)
downloadmpv-2bdc2412a1b96f589e0535282c955d904bc2a53d.tar.bz2
mpv-2bdc2412a1b96f589e0535282c955d904bc2a53d.tar.xz
Fix compilation if the compiler does not support -march=amdfam10
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31265 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 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