Bug 899405 - Use gcc 4.7 as host compiler for Android builds. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 31 Jul 2013 14:04:34 +0900
changeset 140704 dcc53238cca54a9fc33841f40fb69ec7681c9588
parent 140703 b213e7cbee4ceaa2933e3255de97e3bb76e79e6a
child 140705 60dcd30de3fbf12c4791e856f89941cf4cb226d0
push id31835
push usermh@glandium.org
push dateWed, 31 Jul 2013 05:05:01 +0000
treeherdermozilla-inbound@dcc53238cca5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs899405
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 899405 - Use gcc 4.7 as host compiler for Android builds. r=ted
mobile/android/config/mozconfigs/common
--- a/mobile/android/config/mozconfigs/common
+++ b/mobile/android/config/mozconfigs/common
@@ -39,8 +39,14 @@ ac_add_options --enable-update-channel=$
 # Treat warnings as errors in directories with FAIL_ON_WARNINGS.
 ac_add_options --enable-warnings-as-errors
 
 # Package js shell.
 export MOZ_PACKAGE_JSSHELL=1
 
 # Use ccache
 ac_add_options --with-ccache=/usr/bin/ccache
+
+HOST_CC="/tools/gcc-4.7.2-0moz1/bin/gcc"
+HOST_CXX="/tools/gcc-4.7.2-0moz1/bin/g++"
+
+# Avoid dependency on libstdc++ 4.7
+ac_add_options --enable-stdcxx-compat