diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-12-13 04:57:53 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-12-13 06:48:35 +0100 |
| commit | d74e87aab1a59102643cc8c2b0a650cba71cccfc (patch) | |
| tree | 34defbf1a51dc1859b353a98226e1443a716d5f0 /src/Compilation.zig | |
| parent | 12a289c1dd3b171024f03b99bb26dab0323ff7b4 (diff) | |
| download | zig-d74e87aab1a59102643cc8c2b0a650cba71cccfc.tar.gz zig-d74e87aab1a59102643cc8c2b0a650cba71cccfc.zip | |
Compilation: Use Clang dependency file for preprocessed assembly files.
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index fc044f0404..989c81ee8f 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -5891,12 +5891,11 @@ pub const FileExt = enum { pub fn clangSupportsDepFile(ext: FileExt) bool { return switch (ext) { - .c, .cpp, .h, .hpp, .hm, .hmm, .m, .mm, .cu => true, + .assembly_with_cpp, .c, .cpp, .h, .hpp, .hm, .hmm, .m, .mm, .cu => true, .ll, .bc, .assembly, - .assembly_with_cpp, .shared_library, .object, .static_library, |
