Skip to content

Instantly share code, notes, and snippets.

@mjgp2
Created December 22, 2014 21:21
Show Gist options
  • Save mjgp2/6a857ed9783c983c11b5 to your computer and use it in GitHub Desktop.
Save mjgp2/6a857ed9783c983c11b5 to your computer and use it in GitHub Desktop.
Slow javascript .mozconfig
# If ccache was installed via Homebrew:
export PATH="`brew --prefix ccache`/libexec:$PATH"
# Import the stock config for building the browser (Firefox)
. $topsrcdir/browser/config/mozconfig
. $topsrcdir/build/macosx/mozconfig.common
# Define where build files should go. This places them in the directory
# "obj-ff-dbg" under the current source directory
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg
# -s makes builds quieter by default
# -j4 allows 4 tasks to run in parallel. Set the number to be the amount of
# cores in your machine. 4 is a good number.
mk_add_options MOZ_MAKE_FLAGS="-s -j4"
mk_add_options AUTOCONF=/usr/local/Cellar/autoconf213/2.13/bin/autoconf213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment