On Tue, 2026-03-31 at 10:12 +0200, Thomas Perrot via
lists.openembedded.org wrote:
> From: Thomas Perrot <[email protected]>
> 
> Disable LTO for the expect package and append DEBUG_PREFIX_MAP to
> TARGET_LDFLAGS when LTO is enabled, ensuring debug info remapping
> is applied consistently alongside LTO flags.
> 
> Signed-off-by: Thomas Perrot <[email protected]>
> ---
>  meta/conf/distro/include/lto.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/conf/distro/include/lto.inc
> b/meta/conf/distro/include/lto.inc
> index 8752249685a4..c66dfc5a8074 100644
> --- a/meta/conf/distro/include/lto.inc
> +++ b/meta/conf/distro/include/lto.inc
> @@ -4,6 +4,7 @@
>  #
>  
>  # Disable LTO for following packages
> +LTO:pn-expect = ""
>  LTO:pn-glibc = ""
>  LTO:pn-gcc-runtime = ""
>  LTO:pn-libgcc-initial = ""
> 

Is the commit message still correct for this? it doesn't add
DEBUG_PREFIX_MAP?

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#234289): 
https://lists.openembedded.org/g/openembedded-core/message/234289
Mute This Topic: https://lists.openembedded.org/mt/118593189/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to