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 391380 6a412222f22e64ccda1361f9edc9a838460b673a
parent 391379 9c83fd7c7c7a12fedd669af3eda5b679936d15b8
child 391381 a815ac782ef0de7a15779d3fe90156c7cdc01437
child 391412 21f9b2532a408fd6f6b943f9696d0ef98bdb0a2b
push id55195
push usergszorc@mozilla.com
push dateSat, 11 Nov 2017 04:09:07 +0000
treeherderautoland@6a412222f22e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1320738
milestone58.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 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"