Skip to content

Commit

Permalink
mozjs: Disable JIT on mips
Browse files Browse the repository at this point in the history
Fixes
error: static assertion failed: MIPS32 jit only supports FR=0 fpu mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Oct 15, 2021
1 parent 62a80f3 commit cb096e2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export AS = "${CC}"

export RUSTFLAGS

JIT ?= ""

JIT_mipsarch = "--disable-jit"

do_configure() {
cd ${B}
python3 ${S}/configure.py \
Expand All @@ -39,7 +43,8 @@ do_configure() {
--host=${BUILD_SYS} \
--prefix=${prefix} \
--libdir=${libdir} \
--disable-jemalloc
--disable-jemalloc \
${JIT} \

}

Expand Down

0 comments on commit cb096e2

Please sign in to comment.