diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2022-10-28 14:46:02 +0200 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2022-10-28 16:36:18 +0200 |
commit | 550284a659ce8d08d02fe8f836f7b96bbf7b2c71 (patch) | |
tree | f96f69ff72fc19be9ab768b1a831a0e56957a865 /bin | |
parent | 50742699481219cde068e7c1b58a2794b206dc7b (diff) | |
download | justbuild-550284a659ce8d08d02fe8f836f7b96bbf7b2c71.tar.gz |
bootstrap: be consistent with the desired compiler
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bootstrap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bootstrap.py b/bin/bootstrap.py index 49dd5c88..5fbf6a23 100755 --- a/bin/bootstrap.py +++ b/bin/bootstrap.py @@ -31,7 +31,6 @@ from concurrent.futures import ThreadPoolExecutor DEBUG = os.environ.get("DEBUG") REPOS = "etc/repos.json" -BOOTSTRAP_CC = ["clang++", "-std=c++20", "-DBOOTSTRAP_BUILD_TOOL"] MAIN_MODULE = "" MAIN_TARGET = "" MAIN_STAGE = "bin/just" @@ -67,6 +66,8 @@ if "CC" in CONF: if "CXX" in CONF: CXX=CONF["CXX"] +BOOTSTRAP_CC = [CXX, "-std=c++20", "-DBOOTSTRAP_BUILD_TOOL"] + # relevant directories (global variables) SRCDIR = os.getcwd() |