Commit c58d535b authored by Stefano Sabatini's avatar Stefano Sabatini

examples/Makefile: disable -O2 optimizations

There is no much point in optimizing example code, and the -O2 flag is
annoying when debugging.
parent 3aa57e15
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment