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

contrib: ffmpeg: enable thumb

Depends on --enable-small and HAVE_NEON
If we use NEON, we assume at least cortex-a8 CPU which means thumb2 is supported
parent fd67d7f8
......@@ -33,6 +33,12 @@ endif
ifdef ENABLE_SMALL
FFMPEGCONF += --enable-small --optflags=-O2
ifeq ($(ARCH),arm)
ifdef HAVE_NEON
# XXX: assumes CPU >= cortex-a8, and thus thumb2 able
FFMPEGCONF += --enable-thumb
endif
endif
endif
# XXX: REVISIT
......
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