diff options
Diffstat (limited to 'src/link.cpp')
| -rw-r--r-- | src/link.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp index 318d6ffa34..5d684c46e6 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -205,6 +205,9 @@ static void construct_linker_job_linux(LinkJob *lj) { if (!g->link_libc && (g->out_type == OutTypeExe || g->out_type == OutTypeLib)) { Buf *builtin_o_path = build_o(g, "builtin"); lj->args.append(buf_ptr(builtin_o_path)); + + Buf *compiler_rt_o_path = build_o(g, "compiler_rt"); + lj->args.append(buf_ptr(compiler_rt_o_path)); } auto it = g->link_table.entry_iterator(); |
