| ... | @@ -1214,11 +1214,9 @@ pub const File = struct { | ... | @@ -1214,11 +1214,9 @@ pub const File = struct { |
| 1214 | object_files.items.ptr, | 1214 | object_files.items.ptr, |
| 1215 | object_files.items.len, | 1215 | object_files.items.len, |
| 1216 | switch (target.os.tag) { | 1216 | switch (target.os.tag) { |
| 1217 | .linux => .GNU, | 1217 | .aix => .AIXBIG, |
| 1218 | .freebsd, .openbsd => .BSD, | 1218 | .windows => .COFF, |
| 1219 | .macos, .ios => .DARWIN, | 1219 | else => if (target.os.tag.isDarwin()) .DARWIN else .GNU, |
| 1220 | .windows => .GNU, | | |
| 1221 | else => .GNU, | | |
| 1222 | }, | 1220 | }, |
| 1223 | ); | 1221 | ); |
| 1224 | if (bad) return error.UnableToWriteArchive; | 1222 | if (bad) return error.UnableToWriteArchive; |