summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-04-24 10:20:42 -0700
committerArmin Kuster <akuster808@gmail.com>2022-05-03 06:49:07 -0700
commit00b970a87a6e10eb07f4b98d1e5fd3f9305e98a1 (patch)
treeb3dbf2265c36593a91bfbaab830da14522b910c9
parentecaa905714490111aace0901dfdd7cb1da4937ca (diff)
downloadmeta-openembedded-00b970a87a6e10eb07f4b98d1e5fd3f9305e98a1.tar.gz
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 <raj.khem@gmail.com> (cherry picked from commit 78180b6c21638b41a5bab9ed706211304d5f2552) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb2
1 files changed, 2 insertions, 0 deletions
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
24 24
25DEPENDS += "zlib cargo-native python3 icu" 25DEPENDS += "zlib cargo-native python3 icu"
26DEPENDS:remove:mipsarch = "icu" 26DEPENDS:remove:mipsarch = "icu"
27DEPENDS:remove:powerpc:toolchain-clang = "icu"
27 28
28B = "${WORKDIR}/build" 29B = "${WORKDIR}/build"
29 30
@@ -43,6 +44,7 @@ JIT ?= ""
43JIT:mipsarch = "--disable-jit" 44JIT:mipsarch = "--disable-jit"
44ICU ?= "--with-system-icu" 45ICU ?= "--with-system-icu"
45ICU:mipsarch = "" 46ICU:mipsarch = ""
47ICU:powerpc:toolchain-clang = ""
46 48
47do_configure() { 49do_configure() {
48 cd ${B} 50 cd ${B}