aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-06-26 16:13:58 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-06-26 23:21:39 +0200
commitc58d535b2f998041f76a723c98ce786d214d2d06 (patch)
tree068e8850cf925b14b7b79ff3eda8188c62b15336
parent3aa57e1582afd1ac5f45dfede1c774d44bd011c7 (diff)
downloadffmpeg-c58d535b2f998041f76a723c98ce786d214d2d06.tar.gz
examples/Makefile: disable -O2 optimizations
There is no much point in optimizing example code, and the -O2 flag is annoying when debugging.
-rw-r--r--doc/examples/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index c849daa6da..3a84de8c9b 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -7,7 +7,7 @@ FFMPEG_LIBS= libavdevice \
libswscale \
libavutil \
-CFLAGS += -Wall -O2 -g
+CFLAGS += -Wall -g
CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)