| ... | @@ -566,6 +566,7 @@ static const char *build_libc_object(CodeGen *parent_gen, const char *name, CFil | ... | @@ -566,6 +566,7 @@ static const char *build_libc_object(CodeGen *parent_gen, const char *name, CFil |
| 566 | Stage2ProgressNode *progress_node) | 566 | Stage2ProgressNode *progress_node) |
| 567 | { | 567 | { |
| 568 | CodeGen *child_gen = create_child_codegen(parent_gen, nullptr, OutTypeObj, nullptr, name, progress_node); | 568 | CodeGen *child_gen = create_child_codegen(parent_gen, nullptr, OutTypeObj, nullptr, name, progress_node); |
| | 569 | child_gen->root_out_name = buf_create_from_str(name); |
| 569 | ZigList<CFile *> c_source_files = {0}; | 570 | ZigList<CFile *> c_source_files = {0}; |
| 570 | c_source_files.append(c_file); | 571 | c_source_files.append(c_file); |
| 571 | child_gen->c_source_files = c_source_files; | 572 | child_gen->c_source_files = c_source_files; |