webkitgtk3: reduce size of -dbg package
PATCH 1/1 webkitgtk3: reduce size of -dbg package
From: Ross Burton <[email protected]>
Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the debug symbols
Level 1 produces minimal information, enough for making backtraces in parts of the program that you don't plan to debug. This includes descriptions of functions and external variables, and line number tables, but no information about local variables.
This makes the sstate objects a lot more manageable, and packaging faster.
Based on - https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/
Signed-off-by Ross Burton <[email protected]>
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb +3 -0
@@ -86,6 +86,9 @@ EXTRA_OECMAKE = " \ ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \ -DENABLE_MINIBROWSER=ON \ " +# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the +# debug symbols (4.3GB to 700M at time of writing) +DEBUG_FLAGS:append = "${@oe.utils.vartrue('DEBUG_BUILD', '', ' -g1', d)}" # Javascript JIT is not supported on ARC EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF "
Signature · 1 line
2.42.0