2014-06-16 10:17:21 -07:00
|
|
|
if [ "x$IS_NIGHTLY" = "xyes" ]; then
|
|
|
|
MOZ_AUTOMATION_UPLOAD_SYMBOLS=1
|
|
|
|
MOZ_AUTOMATION_UPDATE_PACKAGING=1
|
|
|
|
fi
|
|
|
|
|
2012-09-05 12:09:50 -07:00
|
|
|
. "$topsrcdir/build/mozconfig.common"
|
|
|
|
|
2014-01-30 16:16:19 -08: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-11 17:15:10 -07:00
|
|
|
|
|
|
|
ac_add_options --enable-elf-hack
|
2013-07-20 21:58:23 -07:00
|
|
|
|
|
|
|
# Avoid dependency on libstdc++ 4.7
|
|
|
|
ac_add_options --enable-stdcxx-compat
|