summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-09-25 12:35:08 +0100
committerKhem Raj <raj.khem@gmail.com>2023-09-26 12:44:12 -0700
commit6985b3d6a9b77d12bd787fc522533b45e4f501d3 (patch)
tree6e39a8e20da4660c58cde261d0dd72b998bf1acd
parent79088766c8b82487a58da79f5ba9114c5ad69eaf (diff)
downloadmeta-openembedded-6985b3d6a9b77d12bd787fc522533b45e4f501d3.tar.gz
webkitgtk3: reduce size of -dbg package
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/20230925113508.1087898-1-ross.burton@arm.com/ Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb
index 5f94d32ee4..8962dbfe7d 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.0.bb
@@ -86,6 +86,9 @@ EXTRA_OECMAKE = " \
86 ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \ 86 ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \
87 -DENABLE_MINIBROWSER=ON \ 87 -DENABLE_MINIBROWSER=ON \
88 " 88 "
89# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the
90# debug symbols (4.3GB to 700M at time of writing)
91DEBUG_FLAGS:append = "${@oe.utils.vartrue('DEBUG_BUILD', '', ' -g1', d)}"
89 92
90# Javascript JIT is not supported on ARC 93# Javascript JIT is not supported on ARC
91EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF " 94EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF "