[FFmpeg-devel] [PATCH 3/7] doc/examples: add -O2 in CFLAGS.

Clément Bœsch ubitux at gmail.com
Thu May 10 00:01:30 CEST 2012


---
 doc/examples/Makefile |    5 +++--
 1 file 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                    \
-- 
1.7.10.1



More information about the ffmpeg-devel mailing list