[meta-gnome] sysprof: Remove libunwind on rv32 with gcc

Message ID 20220420060131.4170633-1-raj.khem@gmail.com
State New
Headers show
Series [meta-gnome] sysprof: Remove libunwind on rv32 with gcc | expand

Commit Message

Khem Raj April 20, 2022, 6:01 a.m. UTC
LLVM libunwind works ok on rv32 but libunwind is not yet ported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-gnome/recipes-gnome/sysprof/sysprof_3.44.0.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof_3.44.0.bb b/meta-gnome/recipes-gnome/sysprof/sysprof_3.44.0.bb
index 3606ca9707..383dd9328e 100644
--- a/meta-gnome/recipes-gnome/sysprof/sysprof_3.44.0.bb
+++ b/meta-gnome/recipes-gnome/sysprof/sysprof_3.44.0.bb
@@ -15,6 +15,9 @@  DEPENDS += " \
     json-glib \
     libunwind \
 "
+# nongnu libunwind needs porting to RV32
+DEPENDS:remove:riscv32:toolchain-gcc = "libunwind"
+
 SRC_URI += "file://0001-meson-Check-for-libunwind-instead-of-libunwind-gener.patch"
 SRC_URI[archive.sha256sum] = "ab5d9f5b71973b3088d58a1bfdf1dc23c39a02f5fce4e5e9c73e034b178b005b"