build/unix/mozconfig.linux
author Cosmin Sabou <csabou@mozilla.com>
Mon, 18 Dec 2017 11:52:06 +0200
changeset 396680 5572465c08a9
parent 396072 8d5b3c6a6387
permissions -rw-r--r--
Backed out 2 changesets (bug 1424834) for leaks at netwerk/dns/nsHostResolver.cpp:352 r=backout a=backout Backed out changeset 2503df83bbd9 (bug 1424834) Backed out changeset 49cc08386f17 (bug 1424834)

if [ "x$IS_NIGHTLY" = "xyes" ]; then
  # Some nightlies (eg: Mulet) don't want these set.
  MOZ_AUTOMATION_UPDATE_PACKAGING=${MOZ_AUTOMATION_UPDATE_PACKAGING-1}
fi

. "$topsrcdir/build/mozconfig.common"

TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}

# 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="$TOOLTOOL_DIR/gcc/bin/gcc"
  CXX="$TOOLTOOL_DIR/gcc/bin/g++"

  # We want to make sure we use binutils and other binaries in the tooltool
  # package.
  mk_add_options PATH="$TOOLTOOL_DIR/gcc/bin:$PATH"
else
  CC="/tools/gcc-4.7.3-0moz1/bin/gcc"
  CXX="/tools/gcc-4.7.3-0moz1/bin/g++"
fi

. "$topsrcdir/build/unix/mozconfig.stdcxx"

# PKG_CONFIG_LIBDIR is appropriately overridden in mozconfig.linux32
export PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig

. "$topsrcdir/build/unix/mozconfig.gtk"