[FFmpeg-cvslog] doc/examples: add -O2 in CFLAGS.

Clément Bœsch git at videolan.org
Sat May 12 18:10:07 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May  9 23:08:17 2012 +0200| [5b55c7f4e9690f4503ac21479c08cb170b15a3d2] | committer: Clément Bœsch

doc/examples: add -O2 in CFLAGS.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b55c7f4e9690f4503ac21479c08cb170b15a3d2
---

 doc/examples/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 9bb68ae..992d10e 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -6,8 +6,9 @@ FFMPEG_LIBS=    libavdevice                        \
                 libswscale                         \
                 libavutil                          \
 
-CFLAGS+=-Wall $(shell pkg-config  --cflags $(FFMPEG_LIBS))
-LDLIBS+=$(shell pkg-config --libs $(FFMPEG_LIBS))
+CFLAGS += -Wall -O2
+CFLAGS += $(shell pkg-config --cflags $(FFMPEG_LIBS))
+LDLIBS += $(shell pkg-config --libs $(FFMPEG_LIBS))
 
 EXAMPLES=       decoding_encoding                  \
                 filtering_video                    \



More information about the ffmpeg-cvslog mailing list