im/config/mozconfigs/macosx/mozconfig
author aleth <aleth@instantbird.org>
Sat, 14 May 2016 10:17:14 +0200
changeset 19318 e569d6a8ce6cf8b2b5b230fe8e61afe7873118e1
parent 19231 fb31d13ffe82d6b9657ceca983e76ab208cf0870
child 19405 25b7a4f905be8796089e771885ceba66773b6fe2
permissions -rw-r--r--
Bug 1272483 - Remove MOZ_UPDATE_PACKAGING / --enable-update-packaging. rs,a=bustage-fix

# 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/.

mk_add_options MOZ_BUILD_PROJECTS="x86_64 i386"
. $topsrcdir/build/macosx/universal/mozconfig.common
export MOZ_PKG_PLATFORM=mac

# If this isn't set, the symbol upload will happen without the API.
unset SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE

# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1

export CFLAGS="-gdwarf-2 -W -Wno-unused-parameter -Wno-sign-compare"
export CXXFLAGS="-gdwarf-2 -W -Wno-unused-parameter -Wno-missing-field-initializers"

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
ac_add_options --enable-debug-symbols="-gdwarf-2"

# Enable parallel compiling
mk_add_options MOZ_MAKE_FLAGS="-sj10"

ac_add_options --enable-application=im
ac_add_options --enable-extensions=purple
ac_add_options --enable-update-channel=nightly
ac_add_options --enable-optimize
ac_add_options --disable-debug

if [ `date +%m%d` = 1031 -o `date +%m%d` = 1101 ]; then
ac_add_options --with-branding=im/branding/halloween
fi