diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-05-29 14:44:02 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-05-29 14:44:02 +0000 |
commit | 2bdc2412a1b96f589e0535282c955d904bc2a53d (patch) | |
tree | 36d5b6f0f9f072197f979f2e4420955ca7700fb0 | |
parent | 47d1b72f4655dd98e906fd0609bfc4e7778c92f7 (diff) | |
download | mpv-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
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |