Hi,

For some reason, the default when building on Linux had stayed -Os. I
just landed a change[1] to this default to now use -O2 instead (on
autoland at the moment). This is going to give better performance to
local builds (although that might make the build itself take a little
longer).

(Note the default is -O3 on OSX)

This /shouldn't/ affect debugging by much. That is, I don't expect
things to get significantly worse. People who have trouble debugging
optimized builds are already using --disable-optimize. I'll take on the
occasion to remind or inform people that recent versions of GCC (all
versions we support, actually), and clang >= 4.0 support a -Og flag,
which is a level of optimization that is meant to be more debuggable, so
I'd advise to use --enable-optimize=-Og instead of --disable-optimize.

Cheers,

Mike

1. bug 1368649
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to