Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | if [ "x$IS_NIGHTLY" = "xyes" ]; then |
michael@0 | 2 | MOZ_AUTOMATION_UPLOAD_SYMBOLS=1 |
michael@0 | 3 | MOZ_AUTOMATION_UPDATE_PACKAGING=1 |
michael@0 | 4 | fi |
michael@0 | 5 | |
michael@0 | 6 | . "$topsrcdir/build/mozconfig.common" |
michael@0 | 7 | |
michael@0 | 8 | # some b2g desktop builds still happen on i686 machines, and the tooltool |
michael@0 | 9 | # toolchain is x86_64 only. |
michael@0 | 10 | # We also deal with valgrind builds here, they don't use tooltool manifests at |
michael@0 | 11 | # all yet. |
michael@0 | 12 | if [ -z "$no_tooltool" ] |
michael@0 | 13 | then |
michael@0 | 14 | CC="$topsrcdir/gcc/bin/gcc" |
michael@0 | 15 | CXX="$topsrcdir/gcc/bin/g++" |
michael@0 | 16 | |
michael@0 | 17 | # We want to make sure we use binutils and other binaries in the tooltool |
michael@0 | 18 | # package. |
michael@0 | 19 | mk_add_options PATH="$topsrcdir/gcc/bin:$PATH" |
michael@0 | 20 | else |
michael@0 | 21 | CC="/tools/gcc-4.7.3-0moz1/bin/gcc" |
michael@0 | 22 | CXX="/tools/gcc-4.7.3-0moz1/bin/g++" |
michael@0 | 23 | fi |
michael@0 | 24 | |
michael@0 | 25 | ac_add_options --enable-elf-hack |
michael@0 | 26 | |
michael@0 | 27 | # Avoid dependency on libstdc++ 4.7 |
michael@0 | 28 | ac_add_options --enable-stdcxx-compat |