forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mozconfig
48 lines (43 loc) · 1.78 KB
/
.mozconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# One config to rule them all
# macOS Specific Options
if test `uname -s` = Darwin; then
ac_add_options --enable-optimize="-O3 -march=core2 -w"
ac_add_options --with-macos-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
mk_add_options AUTOCONF=/usr/local/Cellar/autoconf213/2.13/bin/autoconf213
# Windows 10 Specific Options
elif test `uname -s` = MINGW32_NT-6.2; then
ac_add_options --enable-optimize="-O2 -D_ATL_XP_TARGETING"
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --target=x86_64-pc-mingw32
#export CC="clang-cl"
#export CXX="clang-cl"
export WIN32_REDIST_DIR="/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/redist/x64/Microsoft.VC140.CRT"
export WIN_UCRT_REDIST_DIR="/c/Program Files (x86)/Windows Kits/10/Redist/ucrt/DLLs/x64"
# Linux Specific Options
elif test `uname -s` = Linux; then
export CC=clang
export CXX=clang++
ac_add_options --enable-optimize="-O3 -fcolor-diagnostics -w"
ac_add_options --target=x86_64-pc-linux-gnu
ac_add_options --with-ccache=ccache
ac_add_options --disable-pulseaudio
ac_add_options --enable-alsa
fi
mk_add_options AUTOCLOBBER=1
mk_add_options MOZ_MAKE_FLAGS=-j6
mk_add_options MOZ_OBJDIR=objdir
ac_add_options --disable-crashreporter
ac_add_options --disable-eme
ac_add_options --disable-js-shell
ac_add_options --disable-maintenance-service
ac_add_options --disable-profiling
ac_add_options --disable-rust
ac_add_options --disable-tests
ac_add_options --disable-verify-mar
ac_add_options --enable-application=browser
ac_add_options --enable-update-channel=release
ac_add_options --enable-updater
ac_add_options --with-app-name=waterfox
ac_add_options --with-app-basename=Waterfox
ac_add_options --with-branding=browser/branding/official
ac_add_options --with-distribution-id=org.Waterfoxproject