summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mozjs
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-04-24 10:20:42 -0700
committerKhem Raj <raj.khem@gmail.com>2022-04-25 10:44:14 -0700
commit78180b6c21638b41a5bab9ed706211304d5f2552 (patch)
treea006d62ec495dbb86a9ecd1d95b608570c188660 /meta-oe/recipes-extended/mozjs
parent6a52b84dbc41c8c831e5ce82b21900210ef1a8c4 (diff)
downloadmeta-openembedded-78180b6c21638b41a5bab9ed706211304d5f2552.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>
Diffstat (limited to 'meta-oe/recipes-extended/mozjs')
-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}