From 5b55c7f4e9690f4503ac21479c08cb170b15a3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 9 May 2012 23:08:17 +0200 Subject: [PATCH] doc/examples: add -O2 in CFLAGS. --- doc/examples/Makefile | 5 +++-- 1 file 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 \