diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:03 +0800 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:59:39 +0000 |
commit | f11fff32fa63a9966faca82d1e6d8a287902267e (patch) | |
tree | c08aadf91464d5c305a8af6ca974843655d4c10a /js/src/old-configure.in | |
parent | 912e37d202e68e2801a4064f59bf6ba43490b2fd (diff) | |
download | UXP-f11fff32fa63a9966faca82d1e6d8a287902267e.tar UXP-f11fff32fa63a9966faca82d1e6d8a287902267e.tar.gz UXP-f11fff32fa63a9966faca82d1e6d8a287902267e.tar.lz UXP-f11fff32fa63a9966faca82d1e6d8a287902267e.tar.xz UXP-f11fff32fa63a9966faca82d1e6d8a287902267e.zip |
Issue #1542 - IonMonkey: MIPS: Define JS_CODEGEN_MIPSXX by HAVE_64BIT_BUILD.
MIPSXX is required for 64bit build.
Diffstat (limited to 'js/src/old-configure.in')
-rw-r--r-- | js/src/old-configure.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/js/src/old-configure.in b/js/src/old-configure.in index dc3d7da04..246b29652 100644 --- a/js/src/old-configure.in +++ b/js/src/old-configure.in @@ -1764,12 +1764,14 @@ elif test "$CPU_ARCH" = "arm"; then dnl ARM platforms may trap on unaligned accesses; catch the signal and dnl recover. -elif test "$CPU_ARCH" = "mips32"; then - AC_DEFINE(JS_CODEGEN_MIPS32) - JS_CODEGEN_MIPS32=1 -elif test "$CPU_ARCH" = "mips64"; then - AC_DEFINE(JS_CODEGEN_MIPS64) - JS_CODEGEN_MIPS64=1 +elif test "$CPU_ARCH" = "mips" || test "$CPU_ARCH" = "mips32" || test "$CPU_ARCH" = "mips64"; then + if test ! "$HAVE_64BIT_BUILD"; then + AC_DEFINE(JS_CODEGEN_MIPS32) + JS_CODEGEN_MIPS32=1 + else + AC_DEFINE(JS_CODEGEN_MIPS64) + JS_CODEGEN_MIPS64=1 + fi fi AC_SUBST(JS_SIMULATOR) |