aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2022-03-09 11:24:36 +0000
committerGitHub <noreply@github.com>2022-03-09 11:24:36 +0000
commit8e4d6b3e5dde51fdd71a49b2bf703ae3428c1c21 (patch)
treee0c6d3e6a60010252765bacb019663c6db2126b2 /src/main.cpp
parentea9c2fed57a885b74f3ed96461b7aba485b78e36 (diff)
Fix typo
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4d25aea48..aab695de2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -487,7 +487,7 @@ i32 linker_stage(lbGenerator *gen) {
// This sets a requirement of Mountain Lion and up, but the compiler doesn't work without this limit.
// 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_amd64) {
+ if (build_context.metrics.arch == TargetArch_arm64) {
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 ");