aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh
index 67223e6715..2b5c073f43 100755
--- a/compile.sh
+++ b/compile.sh
@@ -113,6 +113,12 @@ if [[ $PLATFORM == "darwin" ]] && \
xcodebuild -showsdks 2> /dev/null | grep -q '\-sdk iphonesimulator'; then
EXTRA_BAZEL_ARGS="${EXTRA_BAZEL_ARGS-} --define IPHONE_SDK=1"
fi
+
+case "${PLATFORM}" in
+msys*|mingw*)
+ EXTRA_BAZEL_ARGS="${EXTRA_BAZEL_ARGS-} --cpu=x64_windows_msys --host_cpu=x64_windows_msys"
+esac
+
source scripts/bootstrap/bootstrap.sh
if [ $DO_COMPILE ]; then