[FFmpeg-user] how to build ffmpeg with -O0 instead of -O1

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Mar 21 17:33:37 CET 2016

qw <applemax82 <at> 163.com> writes:

> I want to build ffmpeg without optimization options, 
> which means compiling flags uses O0 instead of O1-O3.

This is what --disable-optimizations does here if you 
are using gcc.
Compilation without dead code elimination is not supported 
(and hopefully won't be).

Please understand that cross-posting is considered very 
rude everywhere!

Carl Eugen

More information about the ffmpeg-user mailing list