From 542e45de269e7dff1ce506db75d80d21df77a975 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 18 May 2022 12:30:26 +0100 Subject: [PATCH] Increase minimum macOS version to 10.12.0 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 561fa0fca..13c8bd74d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -483,9 +483,9 @@ i32 linker_stage(lbGenerator *gen) { // NOTE: If you change this (although this minimum is as low as you can go with Odin working) // make sure to also change the 'mtriple' param passed to 'opt' if (build_context.metrics.arch == TargetArch_arm64) { - link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=12.0.0 "); + link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=12.0.0 "); } else { - link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=10.8.0 "); + link_settings = gb_string_appendc(link_settings, " -mmacosx-version-min=10.12.0 "); } // This points the linker to where the entry point is link_settings = gb_string_appendc(link_settings, " -e _main ");