aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-09 23:08:17 +0200
committerClément Bœsch <ubitux@gmail.com>2012-05-12 17:59:41 +0200
commit5b55c7f4e9690f4503ac21479c08cb170b15a3d2 (patch)
tree05e885eb46a3296a4eca26e26140195e590ca25a
parent072c2c08bfb7a6365a73cd5ece18f611b06a6fcf (diff)
downloadffmpeg-5b55c7f4e9690f4503ac21479c08cb170b15a3d2.tar.gz
doc/examples: add -O2 in CFLAGS.
-rw-r--r--doc/examples/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 9bb68ae894..992d10ecc9 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 \