aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-03-19 18:05:31 -0400
committerDylan Baker <dylan@pnwbakers.com>2022-04-03 10:58:03 -0700
commit01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec (patch)
tree57f8dd83729eca523afef34d32686d720e0e1a5f /docs/markdown
parent4dd6cb846900bf827c257f830d54d9fd0932743e (diff)
downloadmeson-01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec.zip
meson-01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec.tar.gz
meson-01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec.tar.bz2
Document and test env vars a bit better
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/howtox.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md
index 9945a6c..651f089 100644
--- a/docs/markdown/howtox.md
+++ b/docs/markdown/howtox.md
@@ -12,12 +12,12 @@ When first running Meson, set it in an environment variable.
$ CC=mycc meson <options>
```
-Note that environment variables like `CC` only works in native builds.
-The `CC` refers to the compiler for the host platform, that is the
-compiler used to compile programs that run on the machine we will
-eventually install the project on. The compiler used to build things
-that run on the machine we do the building can be specified with
-`CC_FOR_BUILD`. You can use it in cross builds.
+Note that environment variables like `CC` only refer to the host
+platform in cross builds. That is, `CC` refers to the compiler used to
+compile programs that run on the machine we will eventually install the
+project on. The compiler used to build things that run on the machine we
+do the building can be specified with `CC_FOR_BUILD`. You can use it in
+cross builds.
Note that environment variables are never the idiomatic way to do
anything with Meson, however. It is better to use the native and cross