summaryrefslogtreecommitdiff
path: root/bin/bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bootstrap.py')
-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()