|
1 if [ "x$IS_NIGHTLY" = "xyes" ]; then |
|
2 MOZ_AUTOMATION_UPLOAD_SYMBOLS=1 |
|
3 MOZ_AUTOMATION_UPDATE_PACKAGING=1 |
|
4 fi |
|
5 |
|
6 . "$topsrcdir/build/mozconfig.common" |
|
7 |
|
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 |
|
11 # all yet. |
|
12 if [ -z "$no_tooltool" ] |
|
13 then |
|
14 CC="$topsrcdir/gcc/bin/gcc" |
|
15 CXX="$topsrcdir/gcc/bin/g++" |
|
16 |
|
17 # We want to make sure we use binutils and other binaries in the tooltool |
|
18 # package. |
|
19 mk_add_options PATH="$topsrcdir/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 |
|
25 ac_add_options --enable-elf-hack |
|
26 |
|
27 # Avoid dependency on libstdc++ 4.7 |
|
28 ac_add_options --enable-stdcxx-compat |