doc/examples: add -O2 in CFLAGS.
authorClément Bœsch <ubitux@gmail.com>
Wed, 9 May 2012 21:08:17 +0000 (23:08 +0200)
committerClément Bœsch <ubitux@gmail.com>
Sat, 12 May 2012 15:59:41 +0000 (17:59 +0200)
doc/examples/Makefile

index 9bb68ae..992d10e 100644 (file)
@@ -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                    \