webkitgtk3: Always use -g1 for debug flags

Ensures that debugging symbols do not explode modeled on oe-core commit [1]

[1] https://git.openembedded.org/openembedded-core/commit/?id=9badf68d78d995f7d5d4cf27e045f029fc6d4044
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c5fb1e0d3d63096f69d818b00b373639e1d0462a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2024-10-02 21:50:02 -07:00
parent c68342eca3
commit 61ba32cee6
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -93,9 +93,8 @@ EXTRA_OECMAKE = " \
-DENABLE_MINIBROWSER=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \
"
# 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)}"
# pass -g1 to massively reduce the size of the debug symbols (4.3GB to 700M at time of writing)
DEBUG_LEVELFLAG = "-g1"
# Javascript JIT is not supported on ARC
EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF "