Bug 1260208 - part 3 - switch to libc++ when building Fennec; r=snorp
authorNathan Froyd <froydnj.com>
Tue, 03 May 2016 09:13:49 -0400
changeset 334962 b2dab7186ca8f9ab30cd59be54c024f5eca5a630
parent 334961 c3aad9e8d78d5c7336a196ff9c2f6dd965ccf2bf
child 334963 d72fd0796e7eed1bfdb0ebcba112e66701372d13
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1260208
milestone49.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 1260208 - part 3 - switch to libc++ when building Fennec; r=snorp
mobile/android/config/mozconfigs/common
--- a/mobile/android/config/mozconfigs/common
+++ b/mobile/android/config/mozconfigs/common
@@ -62,9 +62,12 @@ export MOZ_PACKAGE_JSSHELL=1
 . "$topsrcdir/build/mozconfig.cache"
 
 HOST_CC="$topsrcdir/gcc/bin/gcc"
 HOST_CXX="$topsrcdir/gcc/bin/g++"
 
 # Avoid dependency on libstdc++ 4.7
 ac_add_options --enable-stdcxx-compat
 
+# Use libc++ as our C++ standard library
+ac_add_options --with-android-cxx-stl=libc++
+
 JS_BINARY="$topsrcdir/mobile/android/config/js_wrapper.sh"