2014-06-16 21:17:21 +04:00
|
|
|
if [ "x$IS_NIGHTLY" = "xyes" ]; then
|
2015-03-10 23:20:02 +03:00
|
|
|
# Some nightlies (eg: Mulet) don't want these set.
|
|
|
|
MOZ_AUTOMATION_UPLOAD_SYMBOLS=${MOZ_AUTOMATION_UPLOAD_SYMBOLS-1}
|
|
|
|
MOZ_AUTOMATION_UPDATE_PACKAGING=${MOZ_AUTOMATION_UPDATE_PACKAGING-1}
|
2015-03-17 22:29:07 +03:00
|
|
|
MOZ_AUTOMATION_SDK=${MOZ_AUTOMATION_SDK-1}
|
2014-06-16 21:17:21 +04:00
|
|
|
fi
|
|
|
|
|
2012-09-05 23:09:50 +04:00
|
|
|
. "$topsrcdir/build/mozconfig.common"
|
|
|
|
|
2014-01-31 04:16:19 +04:00
|
|
|
# some b2g desktop builds still happen on i686 machines, and the tooltool
|
|
|
|
# toolchain is x86_64 only.
|
|
|
|
# We also deal with valgrind builds here, they don't use tooltool manifests at
|
|
|
|
# all yet.
|
|
|
|
if [ -z "$no_tooltool" ]
|
|
|
|
then
|
|
|
|
CC="$topsrcdir/gcc/bin/gcc"
|
|
|
|
CXX="$topsrcdir/gcc/bin/g++"
|
|
|
|
|
|
|
|
# We want to make sure we use binutils and other binaries in the tooltool
|
|
|
|
# package.
|
|
|
|
mk_add_options PATH="$topsrcdir/gcc/bin:$PATH"
|
|
|
|
else
|
|
|
|
CC="/tools/gcc-4.7.3-0moz1/bin/gcc"
|
|
|
|
CXX="/tools/gcc-4.7.3-0moz1/bin/g++"
|
|
|
|
fi
|
2013-07-12 04:15:10 +04:00
|
|
|
|
|
|
|
ac_add_options --enable-elf-hack
|
2013-07-21 08:58:23 +04:00
|
|
|
|
|
|
|
# Avoid dependency on libstdc++ 4.7
|
|
|
|
ac_add_options --enable-stdcxx-compat
|
2014-06-24 02:28:32 +04:00
|
|
|
|
2015-07-23 11:28:30 +03:00
|
|
|
# PKG_CONFIG_LIBDIR is appropriately overridden in mozconfig.linux32
|
|
|
|
export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig
|
2015-03-30 14:35:28 +03:00
|
|
|
|
|
|
|
export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=/builds/crash-stats-api.token
|
2015-07-23 11:28:30 +03:00
|
|
|
|
|
|
|
. "$topsrcdir/build/unix/mozconfig.gtk"
|