Skip to content

Instantly share code, notes, and snippets.

Created December 30, 2016 21:14
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save EricRahm/23d8f486f7d8bc6369a7d240df7ce572 to your computer and use it in GitHub Desktop.
Example mozconfigs
ac_add_options --enable-debug
ac_add_options --enable-dmd
# NB: ccache disabled for comparitive build time testing.
#ac_add_options --with-ccache=/usr/bin/ccache
export LD="/usr/bin/gold"
# For gcc-6.3.0
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@-gcc-6.3.0-debug
# For clang-3.9.0
#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@-clang-debug
#export LLVM_HOME="/home/erahm/dev/tools/clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04/bin"
#export CC="$LLVM_HOME/clang"
#export CXX="$LLVM_HOME/clang++"
#export LLVM_SYMBOLIZER="$LLVM_HOME/llvm-symbolizer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment