diff options
Diffstat (limited to 'Builder.cpp')
-rw-r--r-- | Builder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Builder.cpp b/Builder.cpp index e74809b..cc756f2 100644 --- a/Builder.cpp +++ b/Builder.cpp @@ -315,7 +315,7 @@ void Builder::build_file(const fs::path& p) { if (p.extension() == ".o") { // compile fs::path source_file{get_compile_unit_source_from_object(p)}; - command = _lang.getCompileCommand(p, source_file, include_paths_of_object(p)); + command = _lang.getCompileCommand(p, source_file, target_from_object(p), include_paths_of_object(p)); } else { // link std::vector<fs::path> objects{dependencies_of(p)}; |