[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 2/5] gcc-5.3.inc/base.bbclass: add gcc option to not record -fdebug-prefix-map to d
From:       pb () pbcl ! net (Phil Blundell)
Date:       2016-01-30 11:43:44
Message-ID: 1454154224.7421.7.camel () pbcl ! net
[Download RAW message or body]

On Fri, 2016-01-29 at 12:35 -0500, Hongxu Jia wrote:
> +If option gno-record-debug-prefix-map used, it does not
> +record -fdebug-prefix-map to gcc command line switches
> +in DWARF DW_AT_producer.
> +
> +Upstream-Status: Inappropriate [oe specific]

If you consider this to be oe-specific and inappropriate for upstream,
wouldn't it be better to make the new behaviour default to on and not
have to add an extra option to the CFLAGS?  (You could still provide a
switch to restore the old behaviour for those who want it.)

Alternatively, if the new behaviour defaults to off, there doesn't seem
any reason that this patch couldn't and shouldn't be sent upstream.

p.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic