mozjs: Disable JIT on mips

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2021-10-14 22:10:03 -07:00
parent 66a0f5b8eb
commit be77bddae1
@@ -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}
}