summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-10-28 14:46:02 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2022-10-28 16:36:18 +0200
commit550284a659ce8d08d02fe8f836f7b96bbf7b2c71 (patch)
treef96f69ff72fc19be9ab768b1a831a0e56957a865 /bin
parent50742699481219cde068e7c1b58a2794b206dc7b (diff)
downloadjustbuild-550284a659ce8d08d02fe8f836f7b96bbf7b2c71.tar.gz
bootstrap: be consistent with the desired compiler
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bootstrap.py3
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()