about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/main.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/main.mk b/mk/main.mk
index dd0136e1362..275dbb55d74 100644
--- a/mk/main.mk
+++ b/mk/main.mk
@@ -456,7 +456,7 @@ TSREQ$(1)_T_$(2)_H_$(3) = \
 	$$(HSREQ$(1)_H_$(3)) \
 	$$(foreach obj,$$(REQUIRED_OBJECTS_$(2)),\
 		$$(TLIB$(1)_T_$(2)_H_$(3))/$$(obj)) \
-	$$(TLIB0_T_$(2)_H_$(3))/libcompiler-rt.a
+	$$(TLIB0_T_$(2)_H_$(3))/$$(call CFG_STATIC_LIB_NAME_$(2),compiler-rt)
 # ^ This copies `libcompiler-rt.a` to the stage0 sysroot
 # ^ TODO(stage0) update this to not copy `libcompiler-rt.a` to stage0