summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gudmundsson <dgud@erlang.org>2021-06-24 10:12:59 +0200
committerDan Gudmundsson <dgud@erlang.org>2021-06-24 10:14:47 +0200
commit89a7e6c3f9f3b45f0833cf5ef8096315663082ad (patch)
tree809f63b830d895c1f2f9e70faf19e86eec92400a
parentab3f314e94714f2cb050d01cb15560cd1728ffb5 (diff)
downloaderlang-89a7e6c3f9f3b45f0833cf5ef8096315663082ad.tar.gz
Update wsl env setup instruction
The default must be x64 nowadays, print that instead of without x64.
-rwxr-xr-xotp_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/otp_build b/otp_build
index 19dba80542..d7bbab9543 100755
--- a/otp_build
+++ b/otp_build
@@ -1145,8 +1145,8 @@ case $TARGET in
*)
if [ -x /bin/wslpath -a X"$OVERRIDE_TARGET" = X"" \
-a X"$1" != X"env_win32" -a X"$1" != X"env_msys32" -a X"$1" != X"env_msys64" ]; then
- echo "Building linux binary; if you intended to cross build for win32 use" >&2
- echo ' eval `./otp_build env_win32`\n' >&2
+ echo "Building linux binary; if you intended to cross build for win32 (x64) use" >&2
+ echo ' eval `./otp_build env_win32 x64`\n' >&2
fi
;;
esac