--enable-debug vs --enable-symbols (Re: [Libreoffice-commits] .: 12 commits - config_host.mk.in configure.in filter/source oox/source sal/inc sc/source solenv/gbuild toolkit/source xmlhelp/source)

Stephan Bergmann sbergman at redhat.com
Fri May 18 02:16:09 PDT 2012


On 05/16/2012 05:01 PM, Lubos Lunak wrote:
> - non-debug/dbgutils (i.e. also the default) ->  -O2
> - symbols ->  -g  (probably even -g1, if this is actually meant for release
> builds with debug info sufficient mainly for backtraces)
> - debug/dbgutils ->  -g, making sure it overrides -g1 from symbols
> - explicit C(XX)FLAGS overrides anything

...and, as something of a special case, no -O... at all (instead of the 
default -O2) for sc under --enable-debug=-sc/?  I think then we're on 
the same page after all (and I had just misinterpreted what you wrote).

Stephan


More information about the LibreOffice mailing list