mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
24 lines
655 B
Plaintext
24 lines
655 B
Plaintext
. "$topsrcdir/build/mozconfig.common"
|
|
|
|
# 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="$topsrcdir/gcc/bin/gcc"
|
|
CXX="$topsrcdir/gcc/bin/g++"
|
|
|
|
# We want to make sure we use binutils and other binaries in the tooltool
|
|
# package.
|
|
mk_add_options PATH="$topsrcdir/gcc/bin:$PATH"
|
|
else
|
|
CC="/tools/gcc-4.7.3-0moz1/bin/gcc"
|
|
CXX="/tools/gcc-4.7.3-0moz1/bin/g++"
|
|
fi
|
|
|
|
ac_add_options --enable-elf-hack
|
|
|
|
# Avoid dependency on libstdc++ 4.7
|
|
ac_add_options --enable-stdcxx-compat
|