# Big Hack that unsets CC / CXX so that mozconfig.common doesn't get
# mixed up with host/target CPUs when trying to work out how to do the
# universal build. When we redo the build system (bug 648979) this will
# go away.
if test -e "$topsrcdir/suite/config/version.txt"; then
  unset CC
  unset CXX
fi

. $topsrcdir/build/macosx/universal/mozconfig.common

ac_add_options --enable-application=suite
ac_add_options --with-l10n-base=../../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --disable-install-strip

# Build lightning locales
ac_add_options --enable-calendar
mk_add_options MOZ_POSTFLIGHT_ALL+=calendar/lightning/build/universal.mk

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

# Disable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=0
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_SIGNING=0
