summaryrefslogtreecommitdiff
path: root/waterfox/debian/mozconfig
blob: 6448a691dec70287efa12e3df935adc8008f0de4 (plain)
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
export CC=clang-6.0
export CXX=clang++-6.0

ac_add_options --prefix=/usr
ac_add_options --enable-optimize="-O2"
ac_add_options --enable-eme=widevine
ac_add_options --disable-pulseaudio
ac_add_options --enable-alsa

#X=$(($(getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN)*3/2))

mk_add_options AUTOCLOBBER=1
#mk_add_options MOZ_MAKE_FLAGS=-j${X%.*}

ac_add_options --disable-crashreporter
ac_add_options --disable-js-shell
ac_add_options --disable-maintenance-service
ac_add_options --disable-profiling
ac_add_options --disable-signmar
ac_add_options --disable-tests
ac_add_options --disable-verify-mar
ac_add_options --disable-elf-hack

ac_add_options --enable-application=browser
ac_add_options --disable-updater

ac_add_options --enable-release

# this line works for OBS, but not on private infrastructure.
if ! test `lsb_release -sc` = "stretch" && ! test `lsb_release -sc` = "jessie" && ! test `lsb_release -sc` = "buster"; then
ac_add_options --enable-rust-simd # on x86 requires SSE2
fi

ac_add_options --enable-stylo=build

ac_add_options --with-app-name=waterfox
ac_add_options --with-app-basename=Waterfox
ac_add_options --with-branding=browser/branding/unofficial
ac_add_options --with-distribution-id=org.waterfoxproject

export MOZ_GECKO_PROFILER=
export MOZ_ENABLE_PROFILER_SPS=
export MOZ_PROFILING=
bgstack15