[OE-core] [PATCH 2/5] gcc-5.3.inc/base.bbclass: add gcc option to not record -fdebug-prefix-map to debugging info

Phil Blundell pb at pbcl.net
Sat Jan 30 11:43:44 UTC 2016


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.





More information about the Openembedded-core mailing list