[vlc-commits] contrib: add -m64 flags for OSX

Rafaël Carré git at videolan.org
Mon Nov 21 07:39:38 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Nov 21 01:39:13 2011 -0500| [864b429161800a86d9b5ef793e7bbf21118bf26d] | committer: Rafaël Carré

contrib: add -m64 flags for OSX

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=864b429161800a86d9b5ef793e7bbf21118bf26d
---

 contrib/src/main.mak |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 2aa1b0b..3259fc0 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -100,10 +100,15 @@ STRIP=strip
 RANLIB=ranlib
 EXTRA_CFLAGS += -isysroot $(MACOSX_SDK) -mmacosx-version-min=$(OSX_VERSION)
 EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK) -mmacosx-version-min=$(OSX_VERSION) -isysroot $(MACOSX_SDK)
-# FIXME
+#TODO ppc
+ifeq ($(ARCH),x86_64)
+EXTRA_CFLAGS += -m64
+EXTRA_LDFLAGS += -m64
+else
 EXTRA_CFLAGS += -m32
 EXTRA_LDFLAGS += -m32
 endif
+endif
 
 
 EXTRA_CFLAGS += -I$(PREFIX)/include



More information about the vlc-commits mailing list