# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

export WIN32_REDIST_DIR=$VCINSTALLDIR'redist\x86\Microsoft.VC'$MOZ_MSVCVERSION'0.CRT'

export MOZILLA_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1

export CFLAGS="-GL -wd4624 -wd4952 -wd4018"
export CXXFLAGS="-GL -wd4624 -wd4952"
export LDFLAGS="-LTCG"

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-instantbird

ac_add_options --enable-application=instantbird
ac_add_options --enable-update-channel=release
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-update-packaging
ac_add_options --enable-jemalloc
ac_add_options --enable-official-branding
ac_add_options --with-l10n-base=..
