Bug 1421687 - move JS_*UNBOX* definitions to moz.configure; r=nalexander

This commit is contained in:
Nathan Froyd 2017-12-01 21:29:28 -05:00
parent 3d16070070
commit 1198705b7d
2 changed files with 4 additions and 6 deletions

View File

@ -36,6 +36,10 @@ def js_disable_shell(value):
set_config('JS_DISABLE_SHELL', js_disable_shell)
set_define('JS_PUNBOX64', depends(target)(lambda t: t.bitness == 64 or None))
set_define('JS_NUNBOX32', depends(target)(lambda t: t.bitness == 32 or None))
# SpiderMonkey as a shared library, and how its symbols are exported
# ==================================================================
js_option('--disable-shared-js', default=building_js,

View File

@ -900,12 +900,6 @@ x86|x86_64|arm|aarch64|mips*)
;;
esac
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= )