diff options
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 1b424a4001..d6bf121adb 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3767,7 +3767,9 @@ fn updateCObject(comp: *Compilation, c_object: *CObject, c_obj_prog_node: *std.P // that we could "tail call" clang by doing an execve, and any use of // the caching system would actually be problematic since the user is // presumably doing their own caching by using dep file flags. - if (comp.disable_c_depfile and comp.clang_passthrough_mode and std.process.can_execv and direct_o) { + if (std.process.can_execv and direct_o and + comp.disable_c_depfile and comp.clang_passthrough_mode) + { try comp.addCCArgs(arena, &argv, ext, null); const out_obj_path = if (comp.bin_file.options.emit) |emit| |
