[MPlayer-cvslog] r31265 - trunk/configure

reimar subversion at mplayerhq.hu
Sat May 29 16:44:03 CEST 2010


Author: reimar
Date: Sat May 29 16:44:02 2010
New Revision: 31265

Log:
Fix compilation if the compiler does not support -march=amdfam10

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat May 29 12:43:51 2010	(r31264)
+++ trunk/configure	Sat May 29 16:44:02 2010	(r31265)
@@ -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


More information about the MPlayer-cvslog mailing list