mozconfig.linux 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. if [ "x$IS_NIGHTLY" = "xyes" ]; then
  2. # Some nightlies (eg: Mulet) don't want these set.
  3. MOZ_AUTOMATION_UPLOAD_SYMBOLS=${MOZ_AUTOMATION_UPLOAD_SYMBOLS-1}
  4. MOZ_AUTOMATION_UPDATE_PACKAGING=${MOZ_AUTOMATION_UPDATE_PACKAGING-1}
  5. MOZ_AUTOMATION_SDK=${MOZ_AUTOMATION_SDK-1}
  6. fi
  7. . "$topsrcdir/build/mozconfig.common"
  8. TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
  9. # some b2g desktop builds still happen on i686 machines, and the tooltool
  10. # toolchain is x86_64 only.
  11. # We also deal with valgrind builds here, they don't use tooltool manifests at
  12. # all yet.
  13. if [ -z "$no_tooltool" ]
  14. then
  15. CC="$TOOLTOOL_DIR/gcc/bin/gcc"
  16. CXX="$TOOLTOOL_DIR/gcc/bin/g++"
  17. # We want to make sure we use binutils and other binaries in the tooltool
  18. # package.
  19. mk_add_options PATH="$TOOLTOOL_DIR/gcc/bin:$PATH"
  20. else
  21. CC="/tools/gcc-4.7.3-0moz1/bin/gcc"
  22. CXX="/tools/gcc-4.7.3-0moz1/bin/g++"
  23. fi
  24. ac_add_options --enable-elf-hack
  25. . "$topsrcdir/build/unix/mozconfig.stdcxx"
  26. # PKG_CONFIG_LIBDIR is appropriately overridden in mozconfig.linux32
  27. export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig
  28. export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=/builds/crash-stats-api.token
  29. . "$topsrcdir/build/unix/mozconfig.gtk"