Commit 3fe01ba5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: update postproc rules

parent bf47f37a
...@@ -11,7 +11,13 @@ POSTPROCCONF = \ ...@@ -11,7 +11,13 @@ POSTPROCCONF = \
DEPS_postproc = ffmpeg DEPS_postproc = ffmpeg
ifdef ENABLE_SMALL ifdef ENABLE_SMALL
POSTPROCCONF += --enable-small --optflags=-O2 POSTPROCCONF += --enable-small
ifeq ($(ARCH),arm)
ifdef HAVE_ARMV7A
# XXX: assumes > ARMv7-A, and thus thumb2-able
FFMPEGCONF += --enable-thumb
endif
endif
endif endif
ifdef HAVE_CROSS_COMPILE ifdef HAVE_CROSS_COMPILE
...@@ -26,7 +32,7 @@ ifeq ($(ARCH),arm) ...@@ -26,7 +32,7 @@ ifeq ($(ARCH),arm)
POSTPROCCONF += --disable-runtime-cpudetect --arch=arm POSTPROCCONF += --disable-runtime-cpudetect --arch=arm
ifdef HAVE_NEON ifdef HAVE_NEON
POSTPROCCONF += --cpu=cortex-a8 --enable-neon POSTPROCCONF += --cpu=cortex-a8 --enable-neon
POSTPROC_CFLAGS +=-mfloat-abi=softfp -mfpu=neon POSTPROC_CFLAGS += -mfloat-abi=softfp -mfpu=neon
endif endif
endif endif
...@@ -39,14 +45,13 @@ endif ...@@ -39,14 +45,13 @@ endif
ifdef HAVE_DARWIN_OS ifdef HAVE_DARWIN_OS
POSTPROCCONF += --arch=$(ARCH) --target-os=darwin POSTPROCCONF += --arch=$(ARCH) --target-os=darwin
endif endif
ifeq ($(ARCH),x86_64)
POSTPROCCONF += --cpu=core2
endif
ifdef HAVE_IOS ifdef HAVE_IOS
ifeq ($(ARCH),arm) ifeq ($(ARCH),arm)
POSTPROCCONF += --as="$(AS)" POSTPROCCONF += --as="$(AS)"
POSTPROCCONF += --cpu=cortex-a8
endif
endif endif
ifeq ($(ARCH),x86_64)
POSTPROCCONF += --cpu=core2
endif endif
# Linux # 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