]> git.videolan.org Git - x264.git/commitdiff
sqrtf requires -lmx on Mac OS X
authorEric Petit <titer@videolan.org>
Sun, 13 Mar 2005 18:49:51 +0000 (18:49 +0000)
committerEric Petit <titer@videolan.org>
Sun, 13 Mar 2005 18:49:51 +0000 (18:49 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@168 df754926-b1dd-0310-bc7b-ec298dee348c

Jamfile

diff --git a/Jamfile b/Jamfile
index c17c2e939f09b02bbcd07cbe85406cec001b8b7e..c51b283e55244304e5f9fcbe63a080e439018bf7 100644 (file)
--- a/Jamfile
+++ b/Jamfile
@@ -8,7 +8,7 @@ AS = nasm ;
 # Flags
 # To profile: -fprofile-arcs
 # Once done : -fbranch-probabilities
-CCFLAGS = -g -Wall -W ;
+CCFLAGS = -g -Wall ;
 
 # Globals defines
 DEFINES = DEBUG __X264__ ARCH_$(OSPLAT) SYS_$(OS) ;
@@ -61,6 +61,7 @@ if $(OSPLAT) = PPC
     if $(OS) = MACOSX
     {
         CCFLAGS += -faltivec ;
+        LINKLIBS += -lmx ;
     }
     if $(OS) = LINUX
     {