Commit ac17dc8a authored by Rafaël Carré's avatar Rafaël Carré

contrib: rationalize HAVE_NEON and HAVE_ARMV7A

parent 701947ad
......@@ -52,8 +52,11 @@ endif
# ARM stuff
ifeq ($(ARCH),arm)
FFMPEGCONF += --arch=arm
ifdef HAVE_NEON
FFMPEGCONF += --enable-neon
endif
ifdef HAVE_ARMV7A
FFMPEGCONF += --cpu=cortex-a8 --enable-neon
FFMPEGCONF += --cpu=cortex-a8
endif
endif
......
......@@ -27,8 +27,11 @@ endif
# ARM stuff
ifeq ($(ARCH),arm)
POSTPROCCONF += --disable-runtime-cpudetect --arch=arm
ifdef HAVE_ARMV7A
POSTPROCCONF += --cpu=cortex-a8
endif
ifdef HAVE_NEON
POSTPROCCONF += --cpu=cortex-a8 --enable-neon
POSTPROCCONF += --enable-neon
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