suite/config/mozconfigs/macosx-universal/nightly
author aleth <aleth@instantbird.org>
Sat, 14 May 2016 10:17:14 +0200
changeset 19318 e569d6a8ce6cf8b2b5b230fe8e61afe7873118e1
parent 19305 e0a3a60653387b1db2c612a6a9426843864b09db
child 19554 09dbbf8ea5085fb1f3cff8851bdd260974dc5923
permissions -rw-r--r--
Bug 1272483 - Remove MOZ_UPDATE_PACKAGING / --enable-update-packaging. rs,a=bustage-fix

# 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

# Make sure Lightning is also unified, this needs to happen before including
# the universal mozconfig because Lightning's univeral.mk needs to run first.
mk_add_options MOZ_POSTFLIGHT_ALL+=calendar/lightning/build/universal.mk

. $topsrcdir/build/macosx/universal/mozconfig

ac_add_options --enable-application=suite
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --enable-tests
ac_add_options --disable-install-strip
ac_add_options --enable-profiling
ac_add_options --enable-calendar

export CFLAGS="-gdwarf-2"
export CXXFLAGS="-gdwarf-2"

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

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