[FFmpeg-cvslog] examples/Makefile: disable -O2 optimizations

Stefano Sabatini git at videolan.org
Wed Jun 26 23:31:24 CEST 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Jun 26 16:13:58 2013 +0200| [c58d535b2f998041f76a723c98ce786d214d2d06] | committer: Stefano Sabatini

examples/Makefile: disable -O2 optimizations

There is no much point in optimizing example code, and the -O2 flag is
annoying when debugging.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c58d535b2f998041f76a723c98ce786d214d2d06
---

 doc/examples/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index c849daa..3a84de8 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)
 



More information about the ffmpeg-cvslog mailing list