diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-10-26 17:54:31 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-10-26 18:09:06 +0200 |
commit | 3e561b7cbd4731164f61c951b9b714eb6aa0bf04 (patch) | |
tree | d9c9002cbf60ee90a399f833c677785de2ba39f3 /INSTALL.md | |
parent | 4943d4268acc357364a45a1367bc641ed639dccd (diff) | |
download | justbuild-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.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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`. |