[vlc-devel] [PATCH v2 1/2] contrib: Use -Og instead of -O0

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Jun 14 10:58:10 CEST 2019

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

More information about the vlc-devel mailing list