michael@0: if [ "x$IS_NIGHTLY" = "xyes" ]; then michael@0: MOZ_AUTOMATION_UPLOAD_SYMBOLS=1 michael@0: MOZ_AUTOMATION_UPDATE_PACKAGING=1 michael@0: fi michael@0: michael@0: . "$topsrcdir/build/mozconfig.common" michael@0: michael@0: # some b2g desktop builds still happen on i686 machines, and the tooltool michael@0: # toolchain is x86_64 only. michael@0: # We also deal with valgrind builds here, they don't use tooltool manifests at michael@0: # all yet. michael@0: if [ -z "$no_tooltool" ] michael@0: then michael@0: CC="$topsrcdir/gcc/bin/gcc" michael@0: CXX="$topsrcdir/gcc/bin/g++" michael@0: michael@0: # We want to make sure we use binutils and other binaries in the tooltool michael@0: # package. michael@0: mk_add_options PATH="$topsrcdir/gcc/bin:$PATH" michael@0: else michael@0: CC="/tools/gcc-4.7.3-0moz1/bin/gcc" michael@0: CXX="/tools/gcc-4.7.3-0moz1/bin/g++" michael@0: fi michael@0: michael@0: ac_add_options --enable-elf-hack michael@0: michael@0: # Avoid dependency on libstdc++ 4.7 michael@0: ac_add_options --enable-stdcxx-compat