openembedded-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [meta-oe][PATCH] mozjs: Disable JIT on mips
@ 2021-10-15  5:11 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2021-10-15  5:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

Fixes
error: static assertion failed: MIPS32 jit only supports FR=0 fpu mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb
index 2f72ff8924..1346cf5879 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb
@@ -31,6 +31,10 @@ export AS = "${CC}"
 
 export RUSTFLAGS
 
+JIT ?= ""
+
+JIT_mipsarch = "--disable-jit"
+
 do_configure() {
     cd ${B}
     python3 ${S}/configure.py \
@@ -39,7 +43,8 @@ do_configure() {
         --host=${BUILD_SYS} \
         --prefix=${prefix} \
         --libdir=${libdir} \
-        --disable-jemalloc
+        --disable-jemalloc \
+        ${JIT} \
 
 }
 
-- 
2.33.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-15  5:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15  5:11 [meta-oe][PATCH] mozjs: Disable JIT on mips Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).