Commit 21f9e5fb authored by Edward Wang's avatar Edward Wang Committed by Rafaël Carré

contrib: ffmpeg: Add --arch=x86 if compiling to x86

Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 27a3a080
......@@ -61,6 +61,11 @@ FFMPEG_CFLAGS +=-mfloat-abi=softfp -mfpu=neon
endif
endif
# x86 stuff
ifeq ($(ARCH),i386)
FFMPEGCONF += --arch=x86
endif
# Darwin
ifdef HAVE_DARWIN_OS
FFMPEGCONF += --arch=$(ARCH) --target-os=darwin
......
......@@ -30,6 +30,11 @@ POSTPROC_CFLAGS +=-mfloat-abi=softfp -mfpu=neon
endif
endif
# x86 stuff
ifeq ($(ARCH),i386)
POSTPROCCONF += --arch=x86
endif
# Darwin
ifdef HAVE_DARWIN_OS
POSTPROCCONF += --arch=$(ARCH) --target-os=darwin
......
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