summaryrefslogtreecommitdiff
path: root/waterfox-g/debian/mozconfig_LANG
blob: 1af22f385c607416a5f8f74e6f790494ba8f8ec6 (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
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
bgstack15