Index: mplayer--svn-HEAD/configure
===================================================================
--- mplayer--svn-HEAD/configure	(revision 36058)
+++ mplayer--svn-HEAD/configure	(working copy)
@@ -1729,7 +1729,6 @@
 _getch=getch2.c
 
 if darwin; then
-  extra_cflags="-mdynamic-no-pic $extra_cflags"
   _timer=timer-darwin.c
 fi
 
@@ -2771,6 +2770,10 @@
     extra_ldflags="$extra_ldflags -pie"
     relocatable=yes
     res_comment="non-PIC"
+  elif x86_64 && test "$cc_vendor" = "clang" && darwin; then
+    extra_ldflags="$extra_ldflags -Wl,-pie"
+    relocatable=yes
+    res_comment="fast PIC"
   elif x86_64 && cflag_check -fpie -pie ; then
     extra_ldflags="$extra_ldflags -fpie -pie"
     extra_cflags="$extra_cflags -fpie"
