docs(website): Update cross-compiling notes

This replaces references to XC_OSARCH with GOOS and GOARCH.

See: 1c8e0ed1e1
This commit is contained in:
Timothy Messier committed 2022-01-13 08:54:50 -05:00
1 parent 36664d433b
commit 0c3218ec3e
1 file changed
+2 -2
+2 -2
View File
@@ -27,8 +27,8 @@ binary to somewhere in your `$PATH` such as `/usr/local/bin`.
## Cross Platform Build
If you need to cross compile boundary for another OS or architecture, use the [XC_OSARCH](https://github.com/hashicorp/boundary/blob/master/scripts/build.sh#L26)
environment variable to set this. Example: `$ XC_OSARCH=linux/amd64 make dev`
If you need to cross compile boundary for another OS or architecture, use the [GOOS and GOARCH](https://github.com/hashicorp/boundary/blob/master/scripts/build.sh#L26)
environment variable to set this. Example: `$ GOOS=linux GOARCH=amd64 make dev`
For more details, please consult the [Boundary project on GitHub](https://github.com/hashicorp/boundary#build-and-start-boundary-in-dev-mode).