From openembedded-core Fri Apr 22 12:53:28 2016 From: Sujith Haridasan Date: Fri, 22 Apr 2016 12:53:28 +0000 To: openembedded-core Subject: [OE-core] [PATCH] webkitgtk: package debug files properly and move -g removal to staging Message-Id: <1461328888-5911-1-git-send-email-Sujith_Haridasan () mentor ! com> X-MARC-Message: https://marc.info/?l=openembedded-core&m=146132890806531 From: Fahad Usman Package debug files properly to get rid of build time warnings. Remove -g option from the DEBUG_FLAGS. Signed-off-by: Fahad Usman Signed-off-by: Christopher Larson Signed-off-by: Sujith Haridasan --- 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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core