0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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
This commit is contained in:
reimar 2010-05-29 14:44:02 +00:00
parent 47d1b72f46
commit 2bdc2412a1

3
configure vendored
View File

@ -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