Fwd: Re: [PATCH][IN PROGRESS] gbuild conversion: module cpputools

Michael Stahl mstahl at redhat.com
Wed Apr 11 03:51:31 PDT 2012

On 11/04/12 12:02, Matúš Kukan wrote:
> On 8 April 2012 10:29, David Tardon <dtardon at redhat.com> wrote:
>> 4. regsingleton sets an additional compiler flag for MSC. You can use
>>   gb_Executable_add_cxxflags to do that in gbuild land.
> Hmm, what's this -Ob0 ? Isn't it some kind of optimization flag ?
> It seems to be default one [1].
> I don't think we need to set it in modules' makefiles.

it's entirely possible that this was some kind of workaround for an
optimization bug in some version of the compiler, guess it's best to
just leave it out and hope the bug has been fixed in current versions.

(in Writer you can actually find places where optimization has been
disabled in 1995 or so, and apparently nobody ever checked if it's still

More information about the LibreOffice mailing list