From d74e87aab1a59102643cc8c2b0a650cba71cccfc Mon Sep 17 00:00:00 2001 From: Alex Rønne Petersen Date: Fri, 13 Dec 2024 04:57:53 +0100 Subject: Compilation: Use Clang dependency file for preprocessed assembly files. --- src/Compilation.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Compilation.zig') 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, -- cgit v1.2.3