summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-10-03 11:14:52 -0700
committerKhem Raj <raj.khem@gmail.com>2025-10-05 21:43:43 -0700
commitff2a53be1c4f553d538a360bf7d5e315d83bf153 (patch)
tree47e93c81cc4b6b1a84980d27fbe8377b44997841
parent67fa4530d1071a8e915b1fa130ac8c6377ea3c1b (diff)
downloadmeta-openembedded-ff2a53be1c4f553d538a360bf7d5e315d83bf153.tar.gz
taisei: Add packageconfigs for lto and rtti
meson's rtti detection logic fails especially with clang which disables rtti by default. The test is triggerred in one of taisei's submodules especially this commit [1], I think it should be something in meson to fix in its rtti detection logic Similarily LTO is only enabled when it is in distro features, clang disables support for LTO in toolchain when its not in distro features and linking fails since it can not find linker plugin. [1] https://github.com/taisei-project/basis_universal/commit/851bfc63fd0f9d00dd1a21fb542a9b8c0f7d06ec Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb
index e0d77b375e..4af2712140 100644
--- a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb
+++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb
@@ -39,11 +39,13 @@ inherit features_check meson mime mime-xdg pkgconfig python3native
39 39
40REQUIRED_DISTRO_FEATURES = "opengl" 40REQUIRED_DISTRO_FEATURES = "opengl"
41 41
42PACKAGECONFIG ??= "" 42PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
43 43
44PACKAGECONFIG[a_null] = "-Da_null=true,-Da_null=false" 44PACKAGECONFIG[a_null] = "-Da_null=true,-Da_null=false"
45PACKAGECONFIG[developer] = "-Ddeveloper=true,-Ddeveloper=false" 45PACKAGECONFIG[developer] = "-Ddeveloper=true,-Ddeveloper=false"
46PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,python3-docutils-native" 46PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,python3-docutils-native"
47PACKAGECONFIG[rtti] = "-Dcpp_rtti=true,-Dcpp_rtti=false,"
48PACKAGECONFIG[lto] = "-Db_lto=true,-Db_lto=false,"
47 49
48EXTRA_OEMESON += "-Dstrip=false" 50EXTRA_OEMESON += "-Dstrip=false"
49 51