Commit de2f058a authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

Contrib: ffmpeg is not affected by the default optim flags

it uses its own system, so we must give it the proper value with --disable-option
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 93e1d6ad
...@@ -50,6 +50,7 @@ FFMPEGCONF += --disable-encoders --disable-muxers ...@@ -50,6 +50,7 @@ FFMPEGCONF += --disable-encoders --disable-muxers
endif endif
# Small size # Small size
ifdef WITH_OPTIMIZATION
ifdef ENABLE_SMALL ifdef ENABLE_SMALL
FFMPEGCONF += --enable-small FFMPEGCONF += --enable-small
endif endif
...@@ -58,6 +59,9 @@ ifdef HAVE_ARMV7A ...@@ -58,6 +59,9 @@ ifdef HAVE_ARMV7A
FFMPEGCONF += --enable-thumb FFMPEGCONF += --enable-thumb
endif endif
endif endif
else
FFMPEGCONF += --optflags=-O0
endif
ifdef HAVE_CROSS_COMPILE ifdef HAVE_CROSS_COMPILE
FFMPEGCONF += --enable-cross-compile --disable-programs FFMPEGCONF += --enable-cross-compile --disable-programs
......
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