summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb
diff options
context:
space:
mode:
authorJiaying Song <jiaying.song.cn@windriver.com>2025-09-17 18:15:10 +0800
committerKhem Raj <raj.khem@gmail.com>2025-09-17 08:57:43 -0700
commit306c094576b918c1a90e8010a68a97a399d09183 (patch)
tree7a0708a23fbf3fd46633a0ebf2b4ba8c6a06535b /meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb
parent403b9a1717e6309f523049abc322bbb30069b10a (diff)
downloadmeta-openembedded-306c094576b918c1a90e8010a68a97a399d09183.tar.gz
webkitgtk3: fix build failure with DEBUG_BUILD enabled
It fails to compile webkitgtk when debug build enabled: | /path_to/tmp/work/core2-64-poky-linux/webkitgtk/2.40.5/webkitgtk-2.40.5/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1: error: inlining failed in call to 'always_inline' 'pas_allocation_result pas_allocation_result_identity(pas_allocation_result)': function not considered for inlining | 76 | pas_allocation_result_identity(pas_allocation_result result) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add a cmake variable WEBKIT_NO_INLINE_HINTS to disable gcc function attribute `always_inline` when debug build is enabled. And adjust indent as well. Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb')
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb
index aa82831b81..b4f7518620 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.3.bb
@@ -20,6 +20,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \
20 file://sys_futex.patch \ 20 file://sys_futex.patch \
21 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \ 21 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \
22 file://fix-ftbfs-riscv64.patch \ 22 file://fix-ftbfs-riscv64.patch \
23 file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \
23 " 24 "
24SRC_URI[sha256sum] = "d4dc5970f0fc6a529ff7fd67bcbfab2bbb5e91be789b2e9279640b3217a782c3" 25SRC_URI[sha256sum] = "d4dc5970f0fc6a529ff7fd67bcbfab2bbb5e91be789b2e9279640b3217a782c3"
25 26
@@ -98,6 +99,7 @@ EXTRA_OECMAKE = " \
98 -DUSE_GTK4=OFF \ 99 -DUSE_GTK4=OFF \
99 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \ 100 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
100 ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \ 101 ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \
102 ${@oe.utils.vartrue('DEBUG_BUILD', '-DWEBKIT_NO_INLINE_HINTS=ON', '-DWEBKIT_NO_INLINE_HINTS=OFFF', d)} \
101 -DENABLE_MINIBROWSER=ON \ 103 -DENABLE_MINIBROWSER=ON \
102 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \ 104 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \
103 " 105 "