public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [OE-core][PATCH] lto: disable for expect and add DEBUG_PREFIX_MAP to ldflags
@ 2026-03-31  8:12 thomas.perrot
  2026-03-31 14:12 ` Richard Purdie
  2026-03-31 15:40 ` Jörg Sommer
  0 siblings, 2 replies; 6+ messages in thread
From: thomas.perrot @ 2026-03-31  8:12 UTC (permalink / raw)
  To: openembedded-core; +Cc: thomas.petazzoni, Thomas Perrot

From: Thomas Perrot <thomas.perrot@bootlin.com>

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 <thomas.perrot@bootlin.com>
---
 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 = ""
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-31 20:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31  8:12 [OE-core][PATCH] lto: disable for expect and add DEBUG_PREFIX_MAP to ldflags thomas.perrot
2026-03-31 14:12 ` Richard Purdie
2026-03-31 14:17   ` Thomas Perrot
2026-03-31 15:40 ` Jörg Sommer
2026-03-31 19:45   ` Khem Raj
2026-03-31 20:27     ` Thomas Perrot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox