aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-05-18 12:30:26 +0100
committergingerBill <bill@gingerbill.org>2022-05-18 12:30:26 +0100
commit542e45de269e7dff1ce506db75d80d21df77a975 (patch)
tree5fb03953de2c25b5b0ca148ad96b0fd85fddfe34 /src/main.cpp
parent1fa9488a4d03351e6502c06bfbe9fe115b5a25d4 (diff)
Increase minimum macOS version to 10.12.0
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files 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 ");