[x264-devel] commit: fix darwin speed regression (Alexander Strange )

git version control git at videolan.org
Sat Oct 4 23:04:49 CEST 2008


x264 | branch: master | Alexander Strange <astrange at ithinksw.com> | Mon Sep  1 14:27:28 2008 -0400| [dbc2b1721de67f4b33c1eab11bb331f5bb808d4f] | committer: Guillaume Poirier 

fix darwin speed regression

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

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

diff --git a/configure b/configure
index fa53bf2..8eb2af8 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