aboutsummaryrefslogtreecommitdiff
path: root/src/link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.cpp')
-rw-r--r--src/link.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp
index 8d7b8b4d5f..aa0edde61b 100644
--- a/src/link.cpp
+++ b/src/link.cpp
@@ -58,6 +58,7 @@ static Buf *build_o_raw(CodeGen *parent_gen, const char *oname, Buf *full_path)
new_link_lib->provided_explicitly = link_lib->provided_explicitly;
}
+ child_gen->enable_cache = true;
codegen_build_and_link(child_gen);
return &child_gen->output_file_path;
}