mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1421687 - move JS_*UNBOX* definitions to moz.configure; r=nalexander
This commit is contained in:
parent
3d16070070
commit
1198705b7d
@ -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,
|
||||
|
@ -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= )
|
||||
|
Loading…
Reference in New Issue
Block a user