Commit da579e28 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/ffmpeg: added support for iOS

parent a4b360f8
...@@ -41,7 +41,10 @@ endif ...@@ -41,7 +41,10 @@ endif
#endif #endif
ifdef HAVE_CROSS_COMPILE ifdef HAVE_CROSS_COMPILE
FFMPEGCONF += --enable-cross-compile --cross-prefix=$(HOST)- FFMPEGCONF += --enable-cross-compile
ifndef HAVE_IOS
FFMPEGCONF += --cross-prefix=$(HOST)-
endif
endif endif
# ARM stuff # ARM stuff
...@@ -66,6 +69,9 @@ ifeq ($(ARCH),x86_64) ...@@ -66,6 +69,9 @@ ifeq ($(ARCH),x86_64)
FFMPEGCONF += --cpu=core2 FFMPEGCONF += --cpu=core2
endif endif
endif endif
ifdef HAVE_IOS
FFMPEGCONF += --as="$(TOPSRC)/../extras/tools/gas/gas-preprocessor.pl $(CC)" --enable-pic
endif
# Linux # Linux
ifdef HAVE_LINUX ifdef HAVE_LINUX
......
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