Fix the build instructions on Windows

For windows running `GYP_DEFINES='target_arch=X64'` shows an error GYP_DEFINES is
not recognized as an internal or external command.

The actual command is to set the value of GYP_DEFINES. so it should be 
`SET GYP_DEFINES='target_arch=X64'`.
This commit is contained in:
Suraj kumar (sk) 2021-03-23 00:02:26 +05:30 committed by GitHub
parent dd935f6dc3
commit aa046a8d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ Also, unlike Linux / Mac, 32-bit is chosen by default even if the system is
configured to `out/%CONFIGURATION%_x64`, i.e.: configured to `out/%CONFIGURATION%_x64`, i.e.:
```shell ```shell
$ GYP_DEFINES='target_arch=x64' gclient runhooks $ SET GYP_DEFINES='target_arch=x64'
$ gclient runhooks
$ ninja -C out/Release_x64 $ ninja -C out/Release_x64
``` ```