1 if [ "x$IS_NIGHTLY" = "xyes" ]; then
2 MOZ_AUTOMATION_UPLOAD_SYMBOLS=1
3 MOZ_AUTOMATION_UPDATE_PACKAGING=1
6 . "$topsrcdir/build/mozconfig.common"
8 # some b2g desktop builds still happen on i686 machines, and the tooltool
9 # toolchain is x86_64 only.
10 # We also deal with valgrind builds here, they don't use tooltool manifests at
12 if [ -z "$no_tooltool" ]
14 CC="$topsrcdir/gcc/bin/gcc"
15 CXX="$topsrcdir/gcc/bin/g++"
17 # We want to make sure we use binutils and other binaries in the tooltool
19 mk_add_options PATH="$topsrcdir/gcc/bin:$PATH"
21 CC="/tools/gcc-4.7.3-0moz1/bin/gcc"
22 CXX="/tools/gcc-4.7.3-0moz1/bin/g++"
25 ac_add_options --enable-elf-hack
27 # Avoid dependency on libstdc++ 4.7
28 ac_add_options --enable-stdcxx-compat
30 # $topsrcdir/gtk3 comes from tooltool, when the tooltool manifest contains it.
31 if [ -d "$topsrcdir/gtk3" ]; then
32 # PKG_CONFIG_LIBDIR is appropriately overridden in mozconfig.linux32
33 export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig
34 export PKG_CONFIG_SYSROOT_DIR="$topsrcdir/gtk3"
35 export PKG_CONFIG_PATH="$topsrcdir/gtk3/usr/local/lib/pkgconfig"
36 export PATH="$topsrcdir/gtk3/usr/local/bin:${PATH}"
37 # Ensure cairo, gdk-pixbuf, etc. are not taken from the system installed packages.
38 LDFLAGS="-L$topsrcdir/gtk3/usr/local/lib"
39 mk_add_options "export LD_LIBRARY_PATH=$topsrcdir/gtk3/usr/local/lib"
40 ac_add_options --enable-default-toolkit=cairo-gtk3
43 export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=/builds/crash-stats-api.token