summaryrefslogtreecommitdiff
path: root/waterfox/debian/mozconfig
diff options
context:
space:
mode:
Diffstat (limited to 'waterfox/debian/mozconfig')
-rw-r--r--waterfox/debian/mozconfig42
1 files changed, 42 insertions, 0 deletions
diff --git a/waterfox/debian/mozconfig b/waterfox/debian/mozconfig
new file mode 100644
index 0000000..ab7112d
--- /dev/null
+++ b/waterfox/debian/mozconfig
@@ -0,0 +1,42 @@
+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
+
+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