Browse Source

Increase minimum macOS version to 10.12.0

gingerBill 3 years ago
parent
commit
542e45de26
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main.cpp

+ 2 - 2
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 ");