[MPlayer-cvslog] r31910 - trunk/configure

diego subversion at mplayerhq.hu
Tue Aug 3 13:46:56 CEST 2010


Author: diego
Date: Tue Aug  3 13:46:55 2010
New Revision: 31910

Log:
Suppress unsupported compiler options when building with clang on Darwin/PPC.
patch by Rowan James, rowanj at phere.net

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Aug  3 13:40:01 2010	(r31909)
+++ trunk/configure	Tue Aug  3 13:46:55 2010	(r31910)
@@ -1526,7 +1526,10 @@ if netbsd || dragonfly ; then
 fi
 
 if darwin; then
-  extra_cflags="-mdynamic-no-pic -falign-loops=16 -shared-libgcc $extra_cflags"
+  extra_cflags="-mdynamic-no-pic $extra_cflags"
+  if test "$(basename $_cc)" != "clang" ; then
+    extra_cflags="-falign-loops=16 -shared-libgcc $extra_cflags"
+  fi
   _timer=timer-darwin.c
 fi
 


More information about the MPlayer-cvslog mailing list