examples/Makefile: disable -O2 optimizations
authorStefano Sabatini <stefasab@gmail.com>
Wed, 26 Jun 2013 14:13:58 +0000 (16:13 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 26 Jun 2013 21:21:39 +0000 (23:21 +0200)
There is no much point in optimizing example code, and the -O2 flag is
annoying when debugging.

doc/examples/Makefile

index c849daa..3a84de8 100644 (file)
@@ -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)