From 191a5b1ba42e98824840e7d7b01ca18a6da8ea64 Mon Sep 17 00:00:00 2001 From: Kivinsae Fang Date: Fri, 8 Sep 2023 16:20:41 +0800 Subject: [PATCH] fix: Add the missing content to README_EN (#11520) * doc: Sync'ed README_EN.md to the latest commit * fix: Add the missing content to README_EN --------- Co-authored-by: KKtheGhost --- README_EN.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README_EN.md b/README_EN.md index e2092b7ad..32e32921d 100644 --- a/README_EN.md +++ b/README_EN.md @@ -167,6 +167,23 @@ Build artifacts will be outputted to `bin/targets` directory. ### If you are using WSL/WSL2 as your build environment + +WSL's `PATH` potentially contain Windows paths with spaces, which may cause compilation failure. Please add the following lines to your local environment profiles before compiling: + +```bash +# Update and reload your profile, ~/.bashrc for example. +cat << EOF >> ~/.bashrc +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH" +EOF +source ~/.bashrc +``` +