Bug 1160490 - Set target to x86_64 for spidermonkey shell build on Windows 8 x64. r=sfink, a=test-only
authorTooru Fujisawa <arai_a@mac.com>
Tue, 05 May 2015 13:59:48 +0900
changeset 267333 a37776f7389ca8d31145dd1f771f600382b0b11b
parent 267332 95a6f19afe8a591fbd0cdeab8901086b35fab2e2
child 267334 55c3df7a17a9df51e5119f0a6c4f6c4d5a1da5f5
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink, test-only
bugs1160490
milestone39.0a2
Bug 1160490 - Set target to x86_64 for spidermonkey shell build on Windows 8 x64. r=sfink, a=test-only
js/src/devtools/automation/autospider.sh
--- a/js/src/devtools/automation/autospider.sh
+++ b/js/src/devtools/automation/autospider.sh
@@ -109,16 +109,19 @@ elif [ "$OSTYPE" = "msys" ]; then
   MAKE=${MAKE:-mozmake}
   source "$ABSDIR/winbuildenv.sh"
 fi
 
 MAKE=${MAKE:-make}
 
 if $USE_64BIT; then
   NSPR64="--enable-64bit"
+  if [ "$OSTYPE" = "msys" ]; then
+    CONFIGURE_ARGS="$CONFIGURE_ARGS --target=x86_64-pc-mingw32 --host=x86_64-pc-mingw32"
+  fi
 else
   NSPR64=""
   if [ "$OSTYPE" != "msys" ]; then
     export CC="${CC:-/usr/bin/gcc} -m32"
     export CXX="${CXX:-/usr/bin/g++} -m32"
     export AR=ar
   fi
 fi