Skip to content

Instantly share code, notes, and snippets.

@PirosB3
Last active August 29, 2015 13:56
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 PirosB3/9343136 to your computer and use it in GitHub Desktop.
Save PirosB3/9343136 to your computer and use it in GitHub Desktop.
# If ccache was installed via Homebrew:
export PATH="`brew --prefix ccache`/libexec:$PATH"
# 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"
# Enable debug builds
ac_add_options --enable-debug
# Turn off compiler optimization. This will make applications run slower,
# will allow you to debug the applications under a debugger, like GDB.
ac_add_options --disable-optimize
ac_add_options --enable-calendar
ac_add_options --enable-application=im
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment