diff options
Diffstat (limited to 'waterfox-g/debian/mozconfig_LANG')
-rw-r--r-- | waterfox-g/debian/mozconfig_LANG | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/waterfox-g/debian/mozconfig_LANG b/waterfox-g/debian/mozconfig_LANG new file mode 100644 index 0000000..1af22f3 --- /dev/null +++ b/waterfox-g/debian/mozconfig_LANG @@ -0,0 +1,31 @@ +if test `lsb_release -sc` = "bionic" || test `lsb_release -sc` = "focal" || test `lsb_release -sc` = "stretch" || test `lsb_release -sc` = "buster"; then +export NODEJS=/usr/lib/nodejs-mozilla/bin/node +fi + +if test `lsb_release -sc` = "bionic" || test `lsb_release -sc` = "stretch"; then +export NASM=/usr/lib/nasm-mozilla/bin/nasm +fi + +# For successfull LTO build, we need to use matching LLVM version +if test `lsb_release -sc` = "bionic" || test `lsb_release -sc` = "focal" || test `lsb_release -sc` = "impish" || test `lsb_release -sc` = "stretch" || test `lsb_release -sc` = "buster" || test `lsb_release -sc` = "bullseye"; then +export PATH=/usr/lib/llvm-12/bin/:$PATH +fi + +if test `lsb_release -sc` = "kinetic"; then +export PATH=/usr/lib/llvm-14/bin/:$PATH +fi + +export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system + +ac_add_options --enable-linker=lld + +ac_add_options --with-app-name=waterfox-g +ac_add_options --with-app-basename=Waterfox +ac_add_options --with-branding=waterfox/browser/branding +mk_add_options MOZ_OBJDIR=$topsrcdir/../obj_LANG +ac_add_options --prefix=/usr +ac_add_options --with-l10n-base=$topsrcdir/waterfox/browser/locales +ac_add_options --disable-updater +ac_add_options --disable-bootstrap +ac_add_options --without-wasm-sandboxed-libraries +ac_add_options --with-version-file-path=$topsrcdir/debian/app_version |