From cb096e2384c84a2505a9911c9c8f445e59f5261a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 14 Oct 2021 22:10:03 -0700 Subject: [PATCH] mozjs: Disable JIT on mips Fixes error: static assertion failed: MIPS32 jit only supports FR=0 fpu mode Signed-off-by: Khem Raj --- .../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 2f72ff89242..1346cf58790 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} \ }