summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-10-26 17:54:31 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-10-26 18:09:06 +0200
commit3e561b7cbd4731164f61c951b9b714eb6aa0bf04 (patch)
treed9c9002cbf60ee90a399f833c677785de2ba39f3 /INSTALL.md
parent4943d4268acc357364a45a1367bc641ed639dccd (diff)
downloadjustbuild-3e561b7cbd4731164f61c951b9b714eb6aa0bf04.tar.gz
bootstrap: honor CC and CXX from build configuration
... also in the first phases of the bootstrap procedure. Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com>
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/INSTALL.md b/INSTALL.md
index e43d1f44..de48b597 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -79,7 +79,11 @@ value of `PATH`, e.g.,
env JUST_BUILD_CONF='{"ENV": {"PATH": "/opt/toolchain/bin"}}' python3 ./bin/boostrap.py
```
Additionally, if `SOURCE_DATE_EPOCH` is set in the build environment, it
-is forwarded to the build configuration as well.
+is forwarded to the build configuration as well. If, on the other hand,
+`CC` or `CXX` are set in the build configuration, those are also used
+for the initial setps of the bootstrap procedure. Remember that setting
+one of those variables also requires to the the `COMPILER_FAMILY` to
+ensure the proper flags are used (if in doubt, set to `"unknown"`).
In any case, the resulting binary is selfcontained and can be moved
to an appropriate location in `PATH`.