ostree: workaround compile error with option gcc option -Og
ostree: workaround compile error with option gcc option -Og

While DEBUG_BUILD = "1" in local.conf, `-Og' is added to cfalgs by Yocto,
it broke ostree build with `-Werror=aggregate-return' (the
-Werror=aggregate-return is added by ostree configure.ac)

So remove -Og and use -O2 as workaround

Signed-off-by: Hongxu Jia <d55095dfc8448df446bb9592fdc085838a3794a7@windriver.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>

moto-timo/meta-openembedded,rehsack/meta-openembedded,rehsack/meta-openembedded,moto-timo/meta-openembedded,schnitzeltony/meta-openembedded,schnitzeltony/meta-openembedded,rehsack/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,moto-timo/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,schnitzeltony/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,moto-timo/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,schnitzeltony/meta-openembedded,moto-timo/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,schnitzeltony/meta-openembedded,rehsack/meta-openembedded