-
Notifications
You must be signed in to change notification settings - Fork 435
Compiling Firefox
XiaokangFan edited this page Jan 29, 2018
·
2 revisions
$ sudo apt-get install rustc cargo autoconf2.13 libgtk-3-dev libgconf2-dev libdbus-glib-1-dev libpulse-dev yasm
$ wget https://archive.mozilla.org/pub/firefox/releases/58.0b9/source/firefox-58.0b9.source.tar.xz
$ tar xvf firefox-58.0b9.source.tar.xz
$ cd firefox-58.0b9
$ touch mozconfig
Add the following options into the config file (mozconfig)
mk_add_options MOZ_OBJDIR=$topsrcdir/obj-clang
mk_add_options MOZ_MAKE_FLAGS="-j8"
ac_add_options --enable-application=browser
ac_add_options CC=PATH_TO_CLANG
ac_add_options CXX=PATH_TO_CLANG++
$ ./mach build