All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] webkitgtk: package debug files properly and move -g removal to staging
@ 2016-04-22 12:41 Sujith Haridasan
  2016-04-22 12:46 ` Alexander Kanavin
  2016-04-22 12:58 ` Burton, Ross
  0 siblings, 2 replies; 4+ messages in thread
From: Sujith Haridasan @ 2016-04-22 12:41 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sujith Haridasan, Christopher Larson

From: Fahad Usman <fahad_usman@mentor.com>

Package debug files properly to get rid of build time warnings.
Remove -g option from the DEBUG_FLAGS.

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
---
 meta/recipes-sato/webkit/webkitgtk_2.10.7.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb b/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
index 8eb6b9f..49fa0bb 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
@@ -75,7 +75,13 @@ EXTRA_OECMAKE_append_aarch64 = " -DUSE_LD_GOLD=OFF "
 EXTRA_OECMAKE_append_mips = " -DENABLE_JIT=OFF "
 EXTRA_OECMAKE_append_mips64 = " -DENABLE_JIT=OFF "
 
+# Link fails due to memory exhaustion, so disable debug info to reduce the
+# memory footprint
+DEBUG_FLAGS_remove = "-g"
+
 FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so"
+FILES_${PN}-dbg += "${libdir}/webkit2gtk-4.0/injected-bundle/.debug \
+                    ${libdir}/webkitgtk/webkit2gtk-4.0/.debug/*"
 
 # http://errors.yoctoproject.org/Errors/Details/20370/
 ARM_INSTRUCTION_SET = "arm"
-- 
1.9.1



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

end of thread, other threads:[~2016-04-22 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 12:41 [PATCH] webkitgtk: package debug files properly and move -g removal to staging Sujith Haridasan
2016-04-22 12:46 ` Alexander Kanavin
2016-04-22 12:58 ` Burton, Ross
2016-04-22 13:31   ` sujith h

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.