From 00b970a87a6e10eb07f4b98d1e5fd3f9305e98a1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 24 Apr 2022 10:20:42 -0700 Subject: [PATCH] mozjs: Use vendored icu on ppc/clang This helps compile gjs, external icu is needed with gcc-12 but not with clang Signed-off-by: Khem Raj (cherry picked from commit 78180b6c21638b41a5bab9ed706211304d5f2552) Signed-off-by: Armin Kuster --- meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb b/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb index af9256860c..9b990ecdf3 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb @@ -24,6 +24,7 @@ inherit pkgconfig perlnative python3native rust DEPENDS += "zlib cargo-native python3 icu" DEPENDS:remove:mipsarch = "icu" +DEPENDS:remove:powerpc:toolchain-clang = "icu" B = "${WORKDIR}/build" @@ -43,6 +44,7 @@ JIT ?= "" JIT:mipsarch = "--disable-jit" ICU ?= "--with-system-icu" ICU:mipsarch = "" +ICU:powerpc:toolchain-clang = "" do_configure() { cd ${B}