Bug 1233542 - re-export variables prior to running JS subconfigure; r=glandium
authorNathan Froyd <froydnj@mozilla.com>
Thu, 17 Dec 2015 16:25:25 -0500
changeset 277040 d8e260e1535f0ff3877b21d6846380dedf449453
parent 277039 d3c254e1d98a3ec6003a0605a2ed33ea33282874
child 277041 a3503094c48d771e020f34f35b8945cd525d40e8
push id16724
push usercbook@mozilla.com
push dateMon, 21 Dec 2015 11:00:52 +0000
treeherderfx-team@3f3f0361567c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1233542
milestone46.0a1
Bug 1233542 - re-export variables prior to running JS subconfigure; r=glandium We need to do this for the same reason we do it for ICU: msys messes with environment variables (as suggested in build/subconfigure.py).
configure.in
--- a/configure.in
+++ b/configure.in
@@ -9255,16 +9255,32 @@ export PYTHON
 export MOZILLA_CENTRAL_PATH=$_topsrcdir
 export STLPORT_CPPFLAGS
 export STLPORT_LIBS
 export JS_STANDALONE=no
 export DIST
 export MOZ_LINKER
 export ZLIB_IN_MOZGLUE
 export MOZ_MEMORY
+export AR
+export RANLIB
+export CPP
+export CC
+export CXX
+export LD
+export ARFLAGS
+export CPPFLAGS
+export CFLAGS
+export CXXFLAGS
+export LDFLAGS
+export HOST_CC
+export HOST_CXX
+export HOST_CFLAGS
+export HOST_CXXFLAGS
+export HOST_LDFLAGS
 
 if ! test -e js; then
     mkdir js
 fi
 
 AC_OUTPUT_SUBDIRS(js/src,$cache_file)
 ac_configure_args="$_SUBDIR_CONFIG_ARGS"