mirror of https://github.com/mpv-player/mpv
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:
parent
47d1b72f46
commit
2bdc2412a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue