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

contrib: improve build rules for ffmpeg and libpostproc for iOS in case arch != arm

parent f0cf9397
......@@ -60,8 +60,6 @@ endif
ifdef HAVE_DARWIN_OS
FFMPEGCONF += --arch=$(ARCH) --target-os=darwin
FFMPEG_CFLAGS += -DHAVE_LRINTF
endif
ifdef HAVE_MACOSX
ifneq ($(findstring $(ARCH),i386 x86_64),)
FFMPEGCONF += --enable-memalign-hack
endif
......@@ -70,7 +68,7 @@ FFMPEGCONF += --cpu=core2
endif
endif
ifdef HAVE_IOS
FFMPEGCONF += --as="$(AS)" --enable-pic
FFMPEGCONF += --enable-pic --as="$(AS)" --disable-decoder=snow
ifeq ($(ARCH), arm)
FFMPEGCONF += --cpu=cortex-a8
endif
......
......@@ -31,11 +31,14 @@ endif
endif
# Darwin
ifdef HAVE_MACOSX
ifdef HAVE_DARWIN_OS
POSTPROCCONF += --arch=$(ARCH) --target-os=darwin
endif
ifdef HAVE_IOS
POSTPROCCONF += --cpu=cortex-a8 --as="$(AS)" --target-os=darwin
POSTPROCCONF += --as="$(AS)"
ifeq ($(ARCH),arm)
POSTPROCCONF += --cpu=cortex-a8
endif
endif
ifeq ($(ARCH),x86_64)
POSTPROCCONF += --cpu=core2
......
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