[vlc-devel] [PATCH v2 1/2] contrib: Use -Og instead of -O0
Alexandre Janniaux
ajanni at videolabs.io
Fri Jun 14 14:23:45 CEST 2019
Hi,
Same for me, I even tend to override it with -Og -ggdb3 anyway when I
need it, which can't be in this place, so it changes nothing for me.
--
Alexandre Janniaux
VideoLabs
On Fri, Jun 14, 2019 at 10:58:10AM +0200, Hugo Beauzée-Luyssen wrote:
> On Fri, Jun 14, 2019, at 9:15 AM, Rémi Denis-Courmont wrote:
> > Ack.
> >
> > VLC itself cannot even compile with O0 due to shortage of registers on
> > x86. More importantly, we want debug to be as close as possible to
> > normal code, and that's the whole point of Og.
> >
>
> While I agree -Og seems like the correct option, most if not all of my builds are built with -O0, it builds and runs fine.
> If it so happens that -Og confuses clang, I'm fine with having it gated to use -O0 though.
>
> --
> Hugo Beauzée-Luyssen
> hugo at beauzee.fr
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list