| 1 |
# Build only the JS shell |
| 2 |
ac_add_options --enable-project=js |
| 3 |
ac_add_options --enable-shared-js |
| 4 |
|
| 5 |
# Standalone SpiderMonkey can not use jemalloc (see https://bugzilla.mozilla.org/show_bug.cgi?id=1465038) |
| 6 |
ac_add_options --disable-jemalloc |
| 7 |
|
| 8 |
# Disable unneeded build parts |
| 9 |
ac_add_options --without-intl-api |
| 10 |
ac_add_options --disable-js-shell |
| 11 |
ac_add_options --disable-tests |
| 12 |
|
| 13 |
# Pass extra options from build.sh |
| 14 |
for option in ${MOZCONFIG_OPTIONS}; do |
| 15 |
ac_add_options "$option" |
| 16 |
done |
| 17 |
|
| 18 |
# Setup output dir |
| 19 |
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${BUILD_DIR} |