Commit 71ed7619 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/postproc: added support for iOS

parent 4dca0e84
...@@ -15,7 +15,10 @@ POSTPROCCONF += --enable-small --optflags=-O2 ...@@ -15,7 +15,10 @@ POSTPROCCONF += --enable-small --optflags=-O2
endif endif
ifdef HAVE_CROSS_COMPILE ifdef HAVE_CROSS_COMPILE
POSTPROCCONF += --enable-cross-compile --cross-prefix=$(HOST)- POSTPROCCONF += --enable-cross-compile
ifndef HAVE_IOS
POSTPROCCONF += --cross-prefix=$(HOST)-
endif
endif endif
# ARM stuff # ARM stuff
...@@ -28,9 +31,12 @@ endif ...@@ -28,9 +31,12 @@ endif
endif endif
# Darwin # Darwin
ifdef HAVE_DARWIN_OS ifdef HAVE_MACOSX
POSTPROCCONF += --arch=$(ARCH) --target-os=darwin POSTPROCCONF += --arch=$(ARCH) --target-os=darwin
endif endif
ifdef HAVE_IOS
POSTPROCCONF += --cpu=cortex-a8 --as="$(AS)" --target-os=darwin
endif
ifeq ($(ARCH),x86_64) ifeq ($(ARCH),x86_64)
POSTPROCCONF += --cpu=core2 POSTPROCCONF += --cpu=core2
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment