summaryrefslogtreecommitdiff
path: root/bin/bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bootstrap.py')
-rwxr-xr-xbin/bootstrap.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/bootstrap.py b/bin/bootstrap.py
index 17c60e48..654f931f 100755
--- a/bin/bootstrap.py
+++ b/bin/bootstrap.py
@@ -91,11 +91,11 @@ CFLAGS = []
CXXFLAGS = []
FINAL_LDFLAGS = ["-Wl,-z,stack-size=8388608"]
-if "COMPILER_FAMILY" in CONF:
- if CONF["COMPILER_FAMILY"] == "gnu":
+if "TOOLCHAIN_CONFIG" in CONF and "FAMILY" in CONF["TOOLCHAIN_CONFIG"]:
+ if CONF["TOOLCHAIN_CONFIG"]["FAMILY"] == "gnu":
CC="gcc"
CXX="g++"
- elif CONF["COMPILER_FAMILY"] == "clang":
+ elif CONF["TOOLCHAIN_CONFIG"]["FAMILY"] == "clang":
CC="clang"
CXX="clang++"