| ... | ... | @@ -143,6 +143,10 @@ pub fn buildStaticLib(comp: *Compilation, prog_node: std.Progress.Node) BuildErr |
| 143 | 143 | try cflags.append("-Wno-visibility"); |
| 144 | 144 | try cflags.append("-Wno-incompatible-pointer-types"); |
| 145 | 145 | |
| 146 | if (target.os.tag == .windows) { |
| 147 | try cflags.append("-Wno-dll-attribute-on-redeclaration"); |
| 148 | } |
| 149 | |
| 146 | 150 | c_source_files[i] = .{ |
| 147 | 151 | .src_path = try comp.zig_lib_directory.join(arena, &[_][]const u8{unwind_src}), |
| 148 | 152 | .extra_flags = cflags.items, |