On Wed, Dec 21, 2016, at 04:56 PM, Julian Seward wrote:
> On 21/12/16 07:55, Jim Blandy wrote:
> > The only things I really want anyway are:
> > 
> > mk_add_options MOZ_OBJDIR=obj-bug
> > ac_add_options --enable-debug='-g3 -O0 -fno-inline'
> > ac_add_options --disable-optimize
> 
> As a side note, I tend to use "-Og -g" as that gives much faster code
> than -O0 whilst retaining a reasonable debugging experience, viz:
> 

Just FYI,

> ac_add_options --enable-optimize="-g -Og"
> ac_add_options --enable-debug-symbols

--enable-debug-symbols is the default, so you don't need to specify it.
Additionally, --enable-debug-symbols should be adding -g to the compile
command, so you ought to be able to just use `--enable-optimize="-Og"`.

-Ted
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to