summaryrefslogtreecommitdiff
path: root/waterfox/debian/mozconfig
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-03-06 15:23:42 -0500
committerB Stack <bgstack15@gmail.com>2019-03-06 15:23:42 -0500
commitfe39148d0cd6ec9020883e8e2af9376412f8da86 (patch)
tree7284d371ba3a04d1e8dcfbe97c5e2cc99057a467 /waterfox/debian/mozconfig
parentwaterfox 56.2.7.1 rpm rc1 (diff)
downloadstackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.tar.gz
stackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.tar.bz2
stackrpms-fe39148d0cd6ec9020883e8e2af9376412f8da86.zip
WIP: waterfox dpkg
Diffstat (limited to 'waterfox/debian/mozconfig')
-rw-r--r--waterfox/debian/mozconfig56
1 files changed, 56 insertions, 0 deletions
diff --git a/waterfox/debian/mozconfig b/waterfox/debian/mozconfig
new file mode 100644
index 0000000..f7e2529
--- /dev/null
+++ b/waterfox/debian/mozconfig
@@ -0,0 +1,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