[Libreoffice] Disable GCC optimizations when building with --enable-symbols

Caolán McNamara caolanm at redhat.com
Wed Nov 17 12:16:40 PST 2010

On Wed, 2010-11-17 at 15:50 -0300, Santiago Bosio wrote:
> Hi!
> When LibO is built using --enable-symbols, it still uses -O2 
> optimizations, making hard to debug execution with GDB.
> So, I think that it should default to -O2 on a normal build, and to -O0 
> when using --enable-symbols. 

I'm not a fan of that idea really. I'd prefer to retain the
--enable-debug option as the one that sets -O0 and leave
--enable-symbols as -g and not touching the -O2.


More information about the LibreOffice mailing list