[FFmpeg-devel] [PATCH]Allow to compile with --disable-optimizations with icc
Måns Rullgård
mans
Tue May 4 01:19:43 CEST 2010
Carl Eugen Hoyos <cehoyos at ag.or.at> writes:
> M?ns Rullg?rd <mans <at> mansr.com> writes:
>
>> > --disable-optimizations --disable-debug used to compile with -O2,
>> > compiles with -O1 now.
>>
>> Please explain how that happened?
>
> It happened because you changed --disable-optimization to imply -O1?
> What is unclear about that?
You misunderstood. --disable-optimizations has only ever affected the
-O flag, and --disable-debug only the -g flag. You claimed that using
both together would give -O2, which I simply do not believe; the
string "-O2" does not occur anywhere in configure.
Before my change --disable-optimizations removed the -O flag entirely,
now it sets it to -O1 for icc. It neither did nor does affect -g, and
--disable-debug neither did nor does affect -O.
If you think any of the above is untrue, please explain _in detail_
why you believe this, so I can fix it.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list