summaryrefslogtreecommitdiffstats
path: root/toolchain.inc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain.inc b/toolchain.inc
index 2a68576a853f..a572f98d4eb1 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -93,6 +93,7 @@ READELF_$(1) := $(READELF_$(2))
CFLAGS_$(1) += $$(CFLAGS_common) $$(CFLAGS_$(2))
CPPFLAGS_$(1) += $$(CPPFLAGS_common) $$(CPPFLAGS_$(2))
LIBGCC_FILE_NAME_$(1) = $(wildcard $(shell $(CC_$(2)) $(CFLAGS_$(2)) -print-libgcc-file-name))
+LIBCLANG_RT_FILE_NAME_$(1) = $(shell $(CC_$(2)) $(CFLAGS_$(2)) -print-librt-file-name)
endef
# define_class: Allows defining any program as dynamic class and compiler tool