summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb')
-rw-r--r--poky/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/poky/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb b/poky/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb
index a0c97aa593..0c54f202ca 100644
--- a/poky/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb
+++ b/poky/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb
@@ -87,6 +87,10 @@ EXTRA_OECMAKE = " \
-DUSE_GTK4=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 "
# By default 25-bit "medium" calls are used on ARC