Re: [OE-core] [PATCH] bitbake.conf: Use -Og in DEBUG_OPTIMIZATION

2019-02-27 Thread Khem Raj
On Tue, Feb 26, 2019 at 11:19 PM Adrian Bunk wrote: > > On Tue, Feb 26, 2019 at 11:04:20PM -0800, Khem Raj wrote: > > -Og is for optimized debugging experience. > > this makes this consistent across different compilers especially gcc and > > clang, -O in clang is equal to -O2 where as in gcc its s

Re: [OE-core] [PATCH] bitbake.conf: Use -Og in DEBUG_OPTIMIZATION

2019-02-26 Thread Adrian Bunk
On Tue, Feb 26, 2019 at 11:04:20PM -0800, Khem Raj wrote: > -Og is for optimized debugging experience. > this makes this consistent across different compilers especially gcc and > clang, -O in clang is equal to -O2 where as in gcc its similar to -O1 > so it was not giving consistent debugging exper

[OE-core] [PATCH] bitbake.conf: Use -Og in DEBUG_OPTIMIZATION

2019-02-26 Thread Khem Raj
-Og is for optimized debugging experience. this makes this consistent across different compilers especially gcc and clang, -O in clang is equal to -O2 where as in gcc its similar to -O1 so it was not giving consistent debugging experience across compilers Signed-off-by: Khem Raj --- meta/conf/bi