[oe] [PATCH] sane-toolchain-*: add -g to FULL_OPTIMIZATION to make -dbg packages more usefull

Tom Rini tom_rini at mentor.com
Tue Mar 1 17:54:01 UTC 2011


On 03/01/2011 10:50 AM, Otavio Salvador wrote:
> On Tue, Mar 1, 2011 at 17:39, Tom Rini<tom_rini at mentor.com>  wrote:
>> On 03/01/2011 10:03 AM, Otavio Salvador wrote:
>>> Having -g shouldn't hurt since the debugging symbols end up on the
>>> -dbg packages. Why having it "disabled" by default?
>>
>> In the case of host packages, I disable debug symbols (don't want, takes up
>> space when shipping).  In the case of target stuff, we may want more debug
>> info to be available.  Or one may want to have less because again, it takes
>> up space when shipping.
>
> I see but this could be overriden by distro, couldn't it?

That's why I'm asking for the -g part to be put into a variable so that 
it can be overriden easily, in all cases, without needing to know the 
special cases (ie glibc).

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list