summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb10
1 files changed, 6 insertions, 4 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 d0accfaae4..af9256860c 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
@@ -22,7 +22,8 @@ S = "${WORKDIR}/firefox-${@d.getVar("PV").replace("esr", "")}"
22 22
23inherit pkgconfig perlnative python3native rust 23inherit pkgconfig perlnative python3native rust
24 24
25DEPENDS += "zlib cargo-native python3" 25DEPENDS += "zlib cargo-native python3 icu"
26DEPENDS:remove:mipsarch = "icu"
26 27
27B = "${WORKDIR}/build" 28B = "${WORKDIR}/build"
28 29
@@ -39,8 +40,9 @@ export AS = "${CC}"
39export RUSTFLAGS 40export RUSTFLAGS
40 41
41JIT ?= "" 42JIT ?= ""
42
43JIT:mipsarch = "--disable-jit" 43JIT:mipsarch = "--disable-jit"
44ICU ?= "--with-system-icu"
45ICU:mipsarch = ""
44 46
45do_configure() { 47do_configure() {
46 cd ${B} 48 cd ${B}
@@ -52,8 +54,8 @@ do_configure() {
52 --libdir=${libdir} \ 54 --libdir=${libdir} \
53 --disable-jemalloc \ 55 --disable-jemalloc \
54 --disable-strip \ 56 --disable-strip \
55 ${JIT} 57 ${JIT} \
56 58 ${ICU}
57} 59}
58 60
59do_install() { 61do_install() {