From 3e561b7cbd4731164f61c951b9b714eb6aa0bf04 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 26 Oct 2022 17:54:31 +0200 Subject: bootstrap: honor CC and CXX from build configuration ... also in the first phases of the bootstrap procedure. Co-authored-by: Oliver Reiche --- INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'INSTALL.md') 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`. -- cgit v1.2.3