[vlc-devel] [PATCH] Contrib: ffmpeg is not affected by the default optim flags
Steve Lhomme
robux4 at videolabs.io
Mon Mar 30 15:12:30 CEST 2015
it uses its own system, so we must give it the proper value with --disable-option
---
contrib/src/ffmpeg/rules.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index f8cd11b..61ea7e8 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -50,6 +50,7 @@ FFMPEGCONF += --disable-encoders --disable-muxers
endif
# Small size
+ifdef WITH_OPTIMIZATION
ifdef ENABLE_SMALL
FFMPEGCONF += --enable-small
endif
@@ -58,6 +59,9 @@ ifdef HAVE_ARMV7A
FFMPEGCONF += --enable-thumb
endif
endif
+else
+FFMPEGCONF += --optflags=-O0
+endif
ifdef HAVE_CROSS_COMPILE
FFMPEGCONF += --enable-cross-compile --disable-programs
--
2.3.0
More information about the vlc-devel
mailing list