[x264-devel] commit: Fix Darwin speed regression (Alexander Strange )

git version control git at videolan.org
Fri Oct 31 16:57:53 CET 2008


x264 | branch: master | Alexander Strange <astrange at ithinksw.com> | Wed Oct 22 15:00:43 2008 -0700| [4c78f091e625e87b8f82c567af81969c2fd3e671] | committer: Jason Garrett-Glaser 

Fix Darwin speed regression

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=4c78f091e625e87b8f82c567af81969c2fd3e671
---

 configure |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index fa53bf2..6c5f949 100755
--- a/configure
+++ b/configure
@@ -184,6 +184,9 @@ case $host_os in
     SYS="MACOSX"
     CFLAGS="$CFLAGS -falign-loops=16"
     LDFLAGS="$LDFLAGS -lm -lmx"
+    if [ "$pic" = "no" ]; then
+        CFLAGS="$CFLAGS -mdynamic-no-pic"
+    fi
     ;;
   freebsd*)
     SYS="FREEBSD"



More information about the x264-devel mailing list