From 550284a659ce8d08d02fe8f836f7b96bbf7b2c71 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Fri, 28 Oct 2022 14:46:02 +0200 Subject: bootstrap: be consistent with the desired compiler --- bin/bootstrap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3