Skip to content

Instantly share code, notes, and snippets.

@creativepsyco
Created February 21, 2012 17:21
Show Gist options
  • Save creativepsyco/1877522 to your computer and use it in GitHub Desktop.
Save creativepsyco/1877522 to your computer and use it in GitHub Desktop.
mozconfig for mac os x 10.7
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-TB
mk_add_options AUTOCONF=/usr/local/Cellar/autoconf213/2.13/bin/autoconf213
# -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.
ac_add_options --enable-calendar
# 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 --disable-jemalloc
#ac_add_options --target=x86_64-apple-darwin11.0.0
ac_add_options --with-macos-sdk=/SDKs/MacOSX10.7.sdk
ac_add_options --enable-macos-target=10.7
ac_add_options --disable-crashreporter
#mk_add_options MOZ_MAKE_FLAGS="-s -j8"
mk_add_options MOZ_MAKE_FLAGS="-j4 -s --no-print-directory"
# ac_add_options --enable-extensions=default,inspector,venkman
ac_add_options --disable-tests
ac_add_options --disable-installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment