[MPlayer-cvslog] r31570 - trunk/configure

reimar subversion at mplayerhq.hu
Sun Jun 27 21:10:29 CEST 2010


Author: reimar
Date: Sun Jun 27 21:10:29 2010
New Revision: 31570

Log:
clang also does not support -march=native.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Jun 27 21:07:51 2010	(r31569)
+++ trunk/configure	Sun Jun 27 21:10:29 2010	(r31570)
@@ -1934,7 +1934,7 @@ cat > $TMPC << EOF
 int main(void) { return 0; }
 EOF
   if test "$_runtime_cpudetection" = no ; then
-    if test $cc_vendor != "intel" ; then
+    if test $cc_vendor != "intel" && test $cc_vendor != "clang" ; then
       cc_check -march=native && proc=native
     fi
     if test "$proc" = "amdfam10"; then
@@ -2087,7 +2087,7 @@ int main(void) { return 0; }
 EOF
     # This is a stripped-down version of the i386 fallback.
     if test "$_runtime_cpudetection" = no ; then
-      if test $cc_vendor != "intel" ; then
+      if test $cc_vendor != "intel" && test $cc_vendor != "clang" ; then
         cc_check -march=native && proc=native
       fi
       # --- AMD processors ---


More information about the MPlayer-cvslog mailing list