build/unix/mozconfig.linux
author Jorg K <jorgk@jorgk.com>
Tue, 30 Jan 2018 11:13:49 +0100
changeset 30161 fb09e4b27ed4cff576ea837a5829b1e0b47a7d6b
parent 29958 1f77e76d57f7fe42bc160840a918e61c8cac806c
child 30166 262a2523f4d34f2318f740297fd8ff3e9c9727c4
permissions -rw-r--r--
Keep build files in sync (Port bug 1431251: Remove PKG_CONFIG_LIBDIR from mozconfigs). rs=bustage-fix DONTBUILD

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 "export 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"