[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:39:11 UTC 2011
On 03/01/2011 10:03 AM, Otavio Salvador wrote:
> On Tue, Mar 1, 2011 at 16:07, Tom Rini<tom_rini at mentor.com> wrote:
>> On 03/01/2011 02:10 AM, Martin Jansa wrote:
> ...
>> And personally I'd like to see the -g flag (for both target and the rest) be
>> a variable that can be tweaked as needed (for more or less debug in the
>> area).
>
> 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.
--
Tom Rini
Mentor Graphics Corporation
More information about the Openembedded-devel
mailing list