aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/build/linker/100-mold.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/linker/100-mold.sh b/scripts/build/linker/100-mold.sh
index 710ca969..c743c9c7 100644
--- a/scripts/build/linker/100-mold.sh
+++ b/scripts/build/linker/100-mold.sh
@@ -16,6 +16,8 @@ do_linker_mold_build() {
CT_DoLog EXTRA "Configuring mold for host"
CT_DoExecLog CFG \
+ CC="${CT_HOST}-gcc" \
+ CXX="${CT_HOST}-g++" \
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
LDFLAGS="${CT_LDFLAGS_FOR_HOST}" \
cmake "${CT_SRC_DIR}/mold" \