Skip to content
Snippets Groups Projects
Commit c58d535b authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

examples/Makefile: disable -O2 optimizations

There is no much point in optimizing example code, and the -O2 flag is
annoying when debugging.
parent 3aa57e15
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ FFMPEG_LIBS= libavdevice \ ...@@ -7,7 +7,7 @@ FFMPEG_LIBS= libavdevice \
libswscale \ libswscale \
libavutil \ libavutil \
CFLAGS += -Wall -O2 -g CFLAGS += -Wall -g
CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS) CFLAGS := $(shell pkg-config --cflags $(FFMPEG_LIBS)) $(CFLAGS)
LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS) LDLIBS := $(shell pkg-config --libs $(FFMPEG_LIBS)) $(LDLIBS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment