Bug 1320738 - export MOZ_PGO for js/src subconfigure; r=gps
authorNathan Froyd <froydnj@mozilla.com>
Fri, 10 Nov 2017 20:08:49 -0800
changeset 696797 6a412222f22e64ccda1361f9edc9a838460b673a
parent 696796 9c83fd7c7c7a12fedd669af3eda5b679936d15b8
child 696798 21f9b2532a408fd6f6b943f9696d0ef98bdb0a2b
child 696835 a815ac782ef0de7a15779d3fe90156c7cdc01437
push id88784
push usercholler@mozilla.com
push dateSat, 11 Nov 2017 10:21:53 +0000
reviewersgps
bugs1320738
milestone58.0a1
Bug 1320738 - export MOZ_PGO for js/src subconfigure; r=gps Environment variables for configure don't get automatically propagated down to js/src on Windows because mingw. So we have to take extra steps.
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -5096,16 +5096,17 @@ export CFLAGS
 export CXXFLAGS
 export LDFLAGS
 export HOST_CC
 export HOST_CXX
 export HOST_CFLAGS
 export HOST_CPPFLAGS
 export HOST_CXXFLAGS
 export HOST_LDFLAGS
+export MOZ_PGO
 
 if ! test -e js; then
     mkdir js
 fi
 
 ac_configure_args="$ac_configure_args JS_STANDALONE="
 AC_OUTPUT_SUBDIRS(js/src,$cache_file)
 ac_configure_args="$_SUBDIR_CONFIG_ARGS"