[vlc-commits] Contribs: forcing -O2 on libavcodec is useless on small size

Jean-Baptiste Kempf git at videolan.org
Wed Oct 17 17:34:52 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 17 17:34:11 2012 +0200| [3f8d37631aaf8b6dec334e75d11602b86b56db02] | committer: Jean-Baptiste Kempf

Contribs: forcing -O2 on libavcodec is useless on small size

It is actually bigger on ARM/Android...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f8d37631aaf8b6dec334e75d11602b86b56db02
---

 contrib/src/ffmpeg/rules.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 5a16552..7fcf66e 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -34,7 +34,7 @@ endif
 
 # Small size
 ifdef ENABLE_SMALL
-FFMPEGCONF += --enable-small --optflags=-O2
+FFMPEGCONF += --enable-small
 ifeq ($(ARCH),arm)
 ifdef HAVE_ARMV7A
 # XXX: assumes > ARMv7-A, and thus thumb2-able



More information about the vlc-commits mailing list