Skip to content

Instantly share code, notes, and snippets.

@Happy-Ferret
Forked from EricRahm/.mozconfig
Created January 11, 2017 13:38
Show Gist options
  • Save Happy-Ferret/39ace4fb3e2b4c128812a3b41135025c to your computer and use it in GitHub Desktop.
Save Happy-Ferret/39ace4fb3e2b4c128812a3b41135025c 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
MOZ_MAKE_FLAGS="-j12"
export LD="/usr/bin/gold"
# For gcc-6.3.0
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@[email protected]
CC=/home/erahm/dev/tools/gcc-6.3.0-dist/bin/gcc
CXX=/home/erahm/dev/tools/gcc-6.3.0-dist/bin/g++
# 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