[FFmpeg-devel] [PATCH]Allow to compile with --disable-optimizations with icc

Måns Rullgård mans
Tue May 4 13:32:15 CEST 2010

Carl Eugen Hoyos <cehoyos at ag.or.at> writes:

> M?ns Rullg?rd <mans <at> mansr.com> writes:
>> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
>> > I didn't want to imply there is something to "fix", but that
>> > FFmpeg's (build system) behaviour has changed for a (useless)
>> > corner case: --disable-optimizations --disable-debug --cc=icc
>> > used to compile with -O2, compiles with -O1 now.
>> ONE MORE TIME: where did the -O2 come from?
> man icc:
>        -O[n]
>               Specifies the code optimization for applications.
>               Architectures: IA-32, Intel? 64, IA-64 architectures
>               Default:
>               O2                Optimizes  for  code speed. This default
>                                 may change depending on which other com-
>                                 piler   options   are   specified.   For
>                                 details, see below.

OK, so the _default_ for icc is -O2.  In that case, configure was
wrong before as --disable-optimizations did not in fact always disable

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list