[vlc-commits] contrib/postproc: added support for iOS
Felix Paul Kühne
git at videolan.org
Wed Mar 21 20:06:06 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Mar 21 14:19:35 2012 +0100| [71ed76190c7b368a6560bf8126e646b701fcf0d9] | committer: Felix Paul Kühne
contrib/postproc: added support for iOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71ed76190c7b368a6560bf8126e646b701fcf0d9
---
contrib/src/postproc/rules.mak | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/contrib/src/postproc/rules.mak b/contrib/src/postproc/rules.mak
index 80d5527..5f18208 100644
--- a/contrib/src/postproc/rules.mak
+++ b/contrib/src/postproc/rules.mak
@@ -15,7 +15,10 @@ POSTPROCCONF += --enable-small --optflags=-O2
endif
ifdef HAVE_CROSS_COMPILE
-POSTPROCCONF += --enable-cross-compile --cross-prefix=$(HOST)-
+POSTPROCCONF += --enable-cross-compile
+ifndef HAVE_IOS
+POSTPROCCONF += --cross-prefix=$(HOST)-
+endif
endif
# ARM stuff
@@ -28,9 +31,12 @@ endif
endif
# Darwin
-ifdef HAVE_DARWIN_OS
+ifdef HAVE_MACOSX
POSTPROCCONF += --arch=$(ARCH) --target-os=darwin
endif
+ifdef HAVE_IOS
+POSTPROCCONF += --cpu=cortex-a8 --as="$(AS)" --target-os=darwin
+endif
ifeq ($(ARCH),x86_64)
POSTPROCCONF += --cpu=core2
endif
More information about the vlc-commits
mailing list