mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1014375 - Properly define JS_PUNBOX64 or JS_NUNBOX32 depending on the CPU arch r=nbp
This commit is contained in:
parent
86deb37c57
commit
21ab061c23
@ -2001,43 +2001,37 @@ case "$target" in
|
||||
i?86-*)
|
||||
ENABLE_ION=1
|
||||
AC_DEFINE(JS_CPU_X86)
|
||||
AC_DEFINE(JS_NUNBOX32)
|
||||
;;
|
||||
x86_64*-*)
|
||||
ENABLE_ION=1
|
||||
AC_DEFINE(JS_CPU_X64)
|
||||
AC_DEFINE(JS_PUNBOX64)
|
||||
;;
|
||||
arm*-*)
|
||||
ENABLE_ION=1
|
||||
AC_DEFINE(JS_CPU_ARM)
|
||||
AC_DEFINE(JS_NUNBOX32)
|
||||
;;
|
||||
sparc*-*)
|
||||
if test ! "$HAVE_64BIT_BUILD" ; then
|
||||
sparc-*)
|
||||
dnl ENABLE_ION=0
|
||||
AC_DEFINE(JS_CPU_SPARC)
|
||||
AC_DEFINE(JS_NUNBOX32)
|
||||
else
|
||||
AC_DEFINE(JS_CPU_SPARC64)
|
||||
AC_DEFINE(JS_PUNBOX64)
|
||||
fi
|
||||
;;
|
||||
powerpc64-*)
|
||||
AC_DEFINE(JS_CPU_PPC64)
|
||||
AC_DEFINE(JS_PUNBOX64)
|
||||
;;
|
||||
powerpc-*)
|
||||
AC_DEFINE(JS_CPU_PPC)
|
||||
AC_DEFINE(JS_NUNBOX32)
|
||||
;;
|
||||
mips*-*)
|
||||
ENABLE_ION=1
|
||||
AC_DEFINE(JS_CPU_MIPS)
|
||||
AC_DEFINE(JS_NUNBOX32)
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$target" in
|
||||
mips*-*)
|
||||
AC_DEFINE(JS_NUNBOX32)
|
||||
;;
|
||||
*)
|
||||
if test "$HAVE_64BIT_BUILD" ; then
|
||||
AC_DEFINE(JS_PUNBOX64)
|
||||
else
|
||||
AC_DEFINE(JS_NUNBOX32)
|
||||
fi
|
||||
;;
|
||||
|
||||
MOZ_ARG_DISABLE_BOOL(ion,
|
||||
[ --disable-ion Disable use of the IonMonkey JIT],
|
||||
ENABLE_ION= )
|
||||
|
Loading…
Reference in New Issue
Block a user