summaryrefslogtreecommitdiff
path: root/waterfox/debian/mozconfig
blob: f7e2529465f13e8bf3bcd153842d05f1d97e703e (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
44
45
46
47
48
49
50
51
52
53
54
55
56
#if ! test `lsb_release -sc` = "trusty"; then
#export CC=clang-6.0
#export CXX=clang++-6.0
#else
#export CC=/usr/lib/gcc-mozilla/bin/gcc
#export CXX=/usr/lib/gcc-mozilla/bin/g++
#export CPLUS_INCLUDE_PATH=/usr/lib/gcc-mozilla/include/c++/6:/usr/lib/gcc-mozilla/include/c++/6/x86_64-linux-gnu
#fi

#if test `lsb_release -sc` = "stretch" || test `lsb_release -sc` = "jessie"; then
#export CC=clang-4.0
#export CXX=clang++-4.0
#else
export CC=clang-6.0
export CXX=clang++-6.0
#fi

ac_add_options --prefix=/usr
ac_add_options --enable-optimize
ac_add_options --enable-eme=widevine
ac_add_options --enable-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

if ! test `lsb_release -sc` = "stretch" && ! test `lsb_release -sc` = "jessie"; 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