Skip to content

Instantly share code, notes, and snippets.

@garrettr
Created July 13, 2016 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garrettr/0e876dcf920b2dee59cc66432b144ded to your computer and use it in GitHub Desktop.
Save garrettr/0e876dcf920b2dee59cc66432b144ded to your computer and use it in GitHub Desktop.
Garrett's .mozconfig
# 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 AUTOCLOBBER=1
ac_add_options --with-ccache=/usr/local/bin/ccache
#mk_add_options PYTHON=/usr/bin/python2
ac_add_options --enable-debug
#ac_add_options --disable-optimize
# https://developer.mozilla.org/en-US/docs/ccache
CC="clang -fcolor-diagnostics"
CXX="clang++ -fcolor-diagnostics"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment