| author | |
| committer | |
| log | 5784631fab1fdcc4dcf9c04db11c4136d530413a |
| tree | e6321bd341c2f2de1a8f94a945fd37f647258310 |
| parent | 786f3cdd135fa29906ec9b78155c03406f9e79ce |
| signature |
3 files changed, 3 insertions(+), 3 deletions(-)
src-self-hosted/link.zig+1-1| ... | ... | @@ -670,7 +670,7 @@ const DarwinPlatform = struct { |
| 670 | 670 | Compilation.DarwinVersionMin.None => blk: { |
| 671 | 671 | assert(comp.target.getOs() == .macosx); |
| 672 | 672 | result.kind = Kind.MacOS; |
| 673 | break :blk "10.10"; | |
| 673 | break :blk "10.14"; | |
| 674 | 674 | }, |
| 675 | 675 | }; |
| 676 | 676 |
src/codegen.cpp+1-1| ... | ... | @@ -48,7 +48,7 @@ static void init_darwin_native(CodeGen *g) { |
| 48 | 48 | } else if (ios_target) { |
| 49 | 49 | g->mios_version_min = buf_create_from_str(ios_target); |
| 50 | 50 | } else if (g->zig_target->os != OsIOS) { |
| 51 | g->mmacosx_version_min = buf_create_from_str("10.10"); | |
| 51 | g->mmacosx_version_min = buf_create_from_str("10.14"); | |
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 |
src/link.cpp+1-1| ... | ... | @@ -1474,7 +1474,7 @@ static void get_darwin_platform(LinkJob *lj, DarwinPlatform *platform) { |
| 1474 | 1474 | platform->kind = IPhoneOS; |
| 1475 | 1475 | } else if (g->zig_target->os == OsMacOSX) { |
| 1476 | 1476 | platform->kind = MacOS; |
| 1477 | g->mmacosx_version_min = buf_create_from_str("10.10"); | |
| 1477 | g->mmacosx_version_min = buf_create_from_str("10.14"); | |
| 1478 | 1478 | } else { |
| 1479 | 1479 | zig_panic("unable to infer -mmacosx-version-min or -mios-version-min"); |
| 1480 | 1480 | } |